From 0fef6b95caabb03923d68a8cfdceb7f16b07a837 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Mon, 12 Jun 2023 15:48:11 +0200 Subject: [PATCH] aco: Add hw_stage field to aco_shader_info. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Unused in this commit, but this is going to replace the shader stage selection inside ACO after the drivers set it correctly. Signed-off-by: Timur Kristóf Reviewed-by: Qiang Yu Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_shader_info.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/compiler/aco_shader_info.h b/src/amd/compiler/aco_shader_info.h index 4bfe7a6..8d05583 100644 --- a/src/amd/compiler/aco_shader_info.h +++ b/src/amd/compiler/aco_shader_info.h @@ -28,6 +28,7 @@ #define ACO_SHADER_INFO_H #include "ac_shader_args.h" +#include "ac_shader_util.h" #include "amd_family.h" #include "shader_enums.h" @@ -77,6 +78,7 @@ struct aco_ps_epilog_info { }; struct aco_shader_info { + enum ac_hw_stage hw_stage; uint8_t wave_size; bool is_ngg; bool has_ngg_culling; -- 2.7.4