1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

gl: Fix static sampler bindings

- VS states come before FS mirrors
This commit is contained in:
kd-11 2023-11-21 02:46:21 +03:00 committed by kd-11
parent ab8a12e211
commit 673660d362

View File

@ -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)
{