Commit e58fabc9 authored by Jordan Justen's avatar Jordan Justen

i965/gen7: Fix gl_HelperInvocation

It appears that UV immediates aren't working on Ivy Bridge. In this
case, a signed version will work, and this fixes the piglit
tests/spec/glsl-4.50/execution/helper-invocation.shader_test test.
Signed-off-by: Jordan Justen's avatarJordan Justen <>
Reviewed-by: Matt Turner's avatarMatt Turner <>
parent e384d75b
......@@ -309,7 +309,7 @@ emit_system_values_block(nir_block *block, fs_visitor *v)
stride(byte_offset(retype(brw_vec1_grf(1, 0),
1, 8, 0),
/* A set bit in the pixel mask means the channel is enabled, but
* that is the opposite of gl_HelperInvocation so we need to invert
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment