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 <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25144>
This commit is contained in:
Samuel Pitoiset
2023-09-11 11:18:11 +02:00
committed by Marge Bot
parent 12f1c5d23b
commit 505c2ee92d

View File

@@ -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 */