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 682e61b7d6319515c4d7e4afeff7a1fa2f1f4201..3d93772c69177e73c58208ef5acbee6bf30d7e8d 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,