summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2018-03-07 17:41:03 +0100
committerKarol Herbst <[email protected]>2019-01-21 20:36:41 +0100
commitce08e5f39cdf5d224eacfe573c567c7083dfa8bf (patch)
tree6c7594f1d8ee8d2bbe458d16d43feb7b1caa8e0b /src/compiler
parent8bb46de08b310b902f49795be45608293e21255e (diff)
vtn: handle SpvExecutionModelKernel
Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/spirv/spirv_to_nir.c2
1 files changed, 2 insertions, 0 deletions
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");
}