aco: Add hw_stage field to aco_shader_info.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 12 Jun 2023 13:48:11 +0000 (15:48 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Jun 2023 12:49:04 +0000 (12:49 +0000)
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 <timur.kristof@gmail.com>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23597>

src/amd/compiler/aco_shader_info.h

index 4bfe7a6..8d05583 100644 (file)
@@ -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;