mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01:00
mesa: add task/mesh to _mesa_shader_stage_to_subroutine_prefix()
Reviewed-by: Reviewed-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37196>
This commit is contained in:
parent
76fece61c6
commit
a70e247b9b
1 changed files with 4 additions and 0 deletions
|
|
@ -164,6 +164,10 @@ _mesa_shader_stage_to_subroutine_prefix(mesa_shader_stage stage)
|
|||
return "__subu_t";
|
||||
case MESA_SHADER_TESS_EVAL:
|
||||
return "__subu_e";
|
||||
case MESA_SHADER_TASK:
|
||||
return "__subu_s";
|
||||
case MESA_SHADER_MESH:
|
||||
return "__subu_m";
|
||||
default:
|
||||
UNREACHABLE("bad value in _mesa_shader_stage_to_subroutine_prefix()");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue