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:
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user