diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-12-19 13:17:03 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-12-24 22:55:04 -0500 |
commit | 695b35605b81e584fe7be97cef4bade7c427733b (patch) | |
tree | 52bf640c640dd701f41442be51d5f3b329bbfe8b | |
parent | 3b3d9653a7e7971a754f8debb8b6680f36e88953 (diff) |
panfrost: Unset vertex_id_zero_based
We don't want the lowering; we have native gl_VertexID.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.h | 1 | ||||
-rw-r--r-- | src/panfrost/midgard/midgard_compile.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index d941b4ae8ab..d26c02cfccc 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -64,7 +64,6 @@ static const nir_shader_compiler_options bifrost_nir_options = { .lower_extract_word = true, .lower_all_io_to_temps = true, .lower_all_io_to_elements = true, - .vertex_id_zero_based = true, }; #endif diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h index 97dac0e8125..809331fc9d9 100644 --- a/src/panfrost/midgard/midgard_compile.h +++ b/src/panfrost/midgard/midgard_compile.h @@ -118,7 +118,6 @@ static const nir_shader_compiler_options midgard_nir_options = { * eventually */ .lower_fsign = true, - .vertex_id_zero_based = true, .lower_extract_byte = true, .lower_extract_word = true, .lower_rotate = true, |