summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_compiler.c
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-03-25 10:54:27 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-04-11 13:53:03 -0700
commita9e6213edd757980475167331bda15c3970a538d (patch)
treef64269995a3bd48b194ecad571b454bf2fd5cf8a /src/mesa/drivers/dri/i965/brw_compiler.c
parent39103145ffe325c4a1432c07e1ac02b1aef0bae5 (diff)
downloadexternal_mesa3d-a9e6213edd757980475167331bda15c3970a538d.zip
external_mesa3d-a9e6213edd757980475167331bda15c3970a538d.tar.gz
external_mesa3d-a9e6213edd757980475167331bda15c3970a538d.tar.bz2
nir/lower_system_values: Add support for several computed values
Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_compiler.c')
-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 6509267..4496699 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,