mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00: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++);
|
||||
}
|
||||
|
||||
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…
Add table
Reference in a new issue