From: Samuel Pitoiset Date: Mon, 11 Sep 2023 09:18:11 +0000 (+0200) Subject: ac/rgp: use correct API stage string for mesh/task shaders X-Git-Tag: upstream/23.3.3~2022 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=505c2ee92d54a0b135a7acbaabb278a1fc124328;p=platform%2Fupstream%2Fmesa.git ac/rgp: use correct API stage string for mesh/task shaders This allows RGP to report the ISA. Cc: mesa-stable Signed-off-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/common/ac_rgp_elf_object_pack.c b/src/amd/common/ac_rgp_elf_object_pack.c index 7e83df2..634e0d6 100644 --- a/src/amd/common/ac_rgp_elf_object_pack.c +++ b/src/amd/common/ac_rgp_elf_object_pack.c @@ -61,6 +61,10 @@ get_api_stage_string(gl_shader_stage stage) return".geometry"; case MESA_SHADER_FRAGMENT: return".pixel"; + case MESA_SHADER_MESH: + return ".mesh"; + case MESA_SHADER_TASK: + return ".task"; default: /* RT shaders are implemented using compute HW stages, so use ".compute" for any stage other than graphics stages */