summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-05-22 15:54:48 -0700
committerJordan Justen <[email protected]>2016-06-01 19:29:02 -0700
commit6f316c9d8658e870b0140b0f601d35d1fcf133b9 (patch)
treed530843779c528c1dd9693032484610e8f25af74 /src/mesa/drivers
parent7b9def35835232a10010f256b9c108219f97f752 (diff)
nir: Make lowering gl_LocalInvocationIndex optional
Cc: "12.0" <[email protected]> Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_compiler.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c
index a4855a09137..bb06733bb0a 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.c
+++ b/src/mesa/drivers/dri/i965/brw_compiler.c
@@ -40,7 +40,8 @@
.lower_fdiv = true, \
.lower_flrp64 = true, \
.native_integers = true, \
- .vertex_id_zero_based = true
+ .vertex_id_zero_based = true, \
+ .lower_cs_local_index_from_id = true
static const struct nir_shader_compiler_options scalar_nir_options = {
COMMON_OPTIONS,