aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-25 10:54:27 -0700
committerJason Ekstrand <[email protected]>2016-04-11 13:53:03 -0700
commita9e6213edd757980475167331bda15c3970a538d (patch)
treef64269995a3bd48b194ecad571b454bf2fd5cf8a /src/mesa/drivers/dri/i965
parent39103145ffe325c4a1432c07e1ac02b1aef0bae5 (diff)
nir/lower_system_values: Add support for several computed values
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-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 6509267a52e..4496699e397 100644
--- a/src/mesa/drivers/dri/i965/brw_compiler.c
+++ b/src/mesa/drivers/dri/i965/brw_compiler.c
@@ -82,7 +82,8 @@ shader_perf_log_mesa(void *data, const char *fmt, ...)
.lower_uadd_carry = true, \
.lower_usub_borrow = true, \
.lower_fdiv = true, \
- .native_integers = true
+ .native_integers = true, \
+ .vertex_id_zero_based = true
static const struct nir_shader_compiler_options scalar_nir_options = {
COMMON_OPTIONS,