From: Timur Kristóf Date: Mon, 12 Jun 2023 13:48:11 +0000 (+0200) Subject: aco: Add hw_stage field to aco_shader_info. X-Git-Tag: upstream/23.3.3~6604 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fef6b95caabb03923d68a8cfdceb7f16b07a837;p=platform%2Fupstream%2Fmesa.git aco: Add hw_stage field to aco_shader_info. 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: --- 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;