From c20564ae3ec2b5ac6bee23751d53a92b2dc09067 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 11 Nov 2016 11:45:54 +1100 Subject: glsl/i965: move per stage AtomicBuffers list to gl_program Reviewed-by: Emil Velikov --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 2c2bbb6c26b..0cea32b764b 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -6607,7 +6607,7 @@ set_affected_state_flags(uint64_t *states, if (shader->NumShaderStorageBlocks) *states |= new_ssbos; - if (shader->NumAtomicBuffers) + if (prog->info.num_abos) *states |= new_atomics; } -- cgit v1.2.3