mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 09:10:11 +01:00
spirv: Support EXT_mesh_shader mesh/task stages.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18366>
This commit is contained in:
parent
bbebc1fb35
commit
b3cc09cff3
1 changed files with 2 additions and 0 deletions
|
|
@ -4388,8 +4388,10 @@ stage_for_execution_model(struct vtn_builder *b, SpvExecutionModel model)
|
|||
case SpvExecutionModelCallableKHR:
|
||||
return MESA_SHADER_CALLABLE;
|
||||
case SpvExecutionModelTaskNV:
|
||||
case SpvExecutionModelTaskEXT:
|
||||
return MESA_SHADER_TASK;
|
||||
case SpvExecutionModelMeshNV:
|
||||
case SpvExecutionModelMeshEXT:
|
||||
return MESA_SHADER_MESH;
|
||||
default:
|
||||
vtn_fail("Unsupported execution model: %s (%u)",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue