From 695b35605b81e584fe7be97cef4bade7c427733b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 19 Dec 2019 13:17:03 -0500 Subject: [PATCH] panfrost: Unset vertex_id_zero_based We don't want the lowering; we have native gl_VertexID. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/bifrost/bifrost_compile.h | 1 - src/panfrost/midgard/midgard_compile.h | 1 - 2 files changed, 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, -- 2.30.2