panfrost: Unset vertex_id_zero_based
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 19 Dec 2019 18:17:03 +0000 (13:17 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 25 Dec 2019 03:55:04 +0000 (22:55 -0500)
We don't want the lowering; we have native gl_VertexID.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/bifrost/bifrost_compile.h
src/panfrost/midgard/midgard_compile.h

index d941b4ae8ab4a4a5b6e789c65f9543bcfb3cbffe..d26c02cfccc2066b0ca615740868ee39a42e034e 100644 (file)
@@ -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
index 97dac0e812505587faf0acab66d256fe17c87502..809331fc9d908d9d9728a414b75e08b40b8f850f 100644 (file)
@@ -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,