From db144685a9acd8f06adfab2e978bf2dde8bebac0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 10 Jan 2024 21:58:03 -0400 Subject: [PATCH] compiler: add a vs.tes_agx bit So we can distinguish lowered tess eval shaders masquerading as hardware vertex shaders from actual software vertex shaders, for determining what stage to pull descriptors. Part-of: --- src/compiler/shader_info.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index 9c3213c22e3..5aae229197e 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -389,6 +389,9 @@ typedef struct shader_info { */ uint8_t blit_sgprs_amd:4; + /* Software TES executing as HW VS */ + bool tes_agx:1; + /* True if the shader writes position in window space coordinates pre-transform */ bool window_space_position:1;