projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb46de
)
vtn: handle SpvExecutionModelKernel
author
Karol Herbst
<kherbst@redhat.com>
Wed, 7 Mar 2018 16:41:03 +0000
(17:41 +0100)
committer
Karol Herbst
<kherbst@redhat.com>
Mon, 21 Jan 2019 19:36:41 +0000
(20:36 +0100)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/spirv/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv_to_nir.c
b/src/compiler/spirv/spirv_to_nir.c
index 1a86312539e69fd44ed8b7d795d955f0f1ada764..4e5be79c9d71b67107606c1c53c54b223a8cb686 100644
(file)
--- 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");
}