i965/compiler: Set nir_options.vertex_id_zero_based
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jan 2016 00:10:12 +0000 (16:10 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 26 Jan 2016 00:10:28 +0000 (16:10 -0800)
src/mesa/drivers/dri/i965/brw_compiler.c

index 682e61b..3d93772 100644 (file)
@@ -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,