nv2a/gl: Make sure vulkan is not set on ShaderState

This commit is contained in:
Matt Borgerson 2024-07-26 17:21:01 -07:00 committed by mborgerson
parent cd2278dd62
commit 4bd0406797
1 changed files with 1 additions and 0 deletions

View File

@ -1027,6 +1027,7 @@ void pgraph_gl_bind_shaders(PGRAPHState *pg)
ShaderBinding* old_binding = r->shader_binding;
ShaderState state = pgraph_get_shader_state(pg);
assert(!state.vulkan);
uint64_t shader_state_hash = fast_hash((uint8_t*) &state, sizeof(ShaderState));
qemu_mutex_lock(&r->shader_cache_lock);