From: Karol Herbst Date: Wed, 7 Mar 2018 16:41:03 +0000 (+0100) Subject: vtn: handle SpvExecutionModelKernel X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce08e5f39cdf5d224eacfe573c567c7083dfa8bf;p=mesa.git vtn: handle SpvExecutionModelKernel Signed-off-by: Karol Herbst Reviewed-by: Jason Ekstrand Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 1a86312539e..4e5be79c9d7 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3422,6 +3422,8 @@ stage_for_execution_model(struct vtn_builder *b, SpvExecutionModel model) return MESA_SHADER_FRAGMENT; case SpvExecutionModelGLCompute: return MESA_SHADER_COMPUTE; + case SpvExecutionModelKernel: + return MESA_SHADER_KERNEL; default: vtn_fail("Unsupported execution model"); }