From ce08e5f39cdf5d224eacfe573c567c7083dfa8bf Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Wed, 7 Mar 2018 17:41:03 +0100 Subject: [PATCH] vtn: handle SpvExecutionModelKernel Signed-off-by: Karol Herbst Reviewed-by: Jason Ekstrand Reviewed-by: Bas Nieuwenhuizen --- src/compiler/spirv/spirv_to_nir.c | 2 ++ 1 file changed, 2 insertions(+) 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"); } -- 2.30.2