From: Alyssa Rosenzweig Date: Thu, 19 Dec 2019 18:17:03 +0000 (-0500) Subject: panfrost: Unset vertex_id_zero_based X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=695b35605b81e584fe7be97cef4bade7c427733b;p=mesa.git panfrost: Unset vertex_id_zero_based We don't want the lowering; we have native gl_VertexID. Signed-off-by: Alyssa Rosenzweig --- 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,