mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
gl: Fix static sampler bindings
- VS states come before FS mirrors
This commit is contained in:
parent
ab8a12e211
commit
673660d362
1 changed files with 7 additions and 7 deletions
|
@ -330,19 +330,19 @@ void GLGSRender::on_init_thread()
|
||||||
sampler.bind(image_unit++);
|
sampler.bind(image_unit++);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto &sampler : m_fs_sampler_mirror_states)
|
|
||||||
{
|
|
||||||
sampler.create();
|
|
||||||
sampler.apply_defaults();
|
|
||||||
sampler.bind(image_unit++);
|
|
||||||
}
|
|
||||||
|
|
||||||
for (auto &sampler : m_vs_sampler_states)
|
for (auto &sampler : m_vs_sampler_states)
|
||||||
{
|
{
|
||||||
sampler.create();
|
sampler.create();
|
||||||
sampler.bind(image_unit++);
|
sampler.bind(image_unit++);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (auto& sampler : m_fs_sampler_mirror_states)
|
||||||
|
{
|
||||||
|
sampler.create();
|
||||||
|
sampler.apply_defaults();
|
||||||
|
sampler.bind(image_unit++);
|
||||||
|
}
|
||||||
|
|
||||||
//Occlusion query
|
//Occlusion query
|
||||||
for (u32 i = 0; i < rsx::reports::occlusion_query_count; ++i)
|
for (u32 i = 0; i < rsx::reports::occlusion_query_count; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue