From: Jason Ekstrand Date: Tue, 26 Jan 2016 00:10:12 +0000 (-0800) Subject: i965/compiler: Set nir_options.vertex_id_zero_based X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=725fb3623fc3b377f726101e0116a0d35f9090d4;p=mesa.git i965/compiler: Set nir_options.vertex_id_zero_based --- diff --git a/src/mesa/drivers/dri/i965/brw_compiler.c b/src/mesa/drivers/dri/i965/brw_compiler.c index 682e61b7d63..3d93772c691 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,