mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
gl: Fix static sampler bindings
- VS states come before FS mirrors
This commit is contained in:
parent
ab8a12e211
commit
673660d362
@ -330,19 +330,19 @@ void GLGSRender::on_init_thread()
|
||||
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)
|
||||
{
|
||||
sampler.create();
|
||||
sampler.bind(image_unit++);
|
||||
}
|
||||
|
||||
for (auto& sampler : m_fs_sampler_mirror_states)
|
||||
{
|
||||
sampler.create();
|
||||
sampler.apply_defaults();
|
||||
sampler.bind(image_unit++);
|
||||
}
|
||||
|
||||
//Occlusion query
|
||||
for (u32 i = 0; i < rsx::reports::occlusion_query_count; ++i)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user