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:
Timur Kristóf 2022-01-20 16:35:01 +01:00 committed by Marge Bot
parent bbebc1fb35
commit b3cc09cff3

View file

@ -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)",