projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb92526
)
Add support for targeting Vulkan 1.2 in the C API
author
Lynne
<dev@lynne.ee>
Mon, 8 Nov 2021 09:48:38 +0000
(10:48 +0100)
committer
Lynne
<dev@lynne.ee>
Mon, 8 Nov 2021 09:48:38 +0000
(10:48 +0100)
glslang/CInterface/glslang_c_interface.cpp
patch
|
blob
|
history
diff --git
a/glslang/CInterface/glslang_c_interface.cpp
b/glslang/CInterface/glslang_c_interface.cpp
index
2e04f53
..
4fdeff7
100644
(file)
--- a/
glslang/CInterface/glslang_c_interface.cpp
+++ b/
glslang/CInterface/glslang_c_interface.cpp
@@
-269,6
+269,8
@@
static glslang::EShTargetClientVersion c_shader_client_version(glslang_target_cl
switch (client_version) {
case GLSLANG_TARGET_VULKAN_1_1:
return glslang::EShTargetVulkan_1_1;
+ case GLSLANG_TARGET_VULKAN_1_2:
+ return glslang::EShTargetVulkan_1_2;
case GLSLANG_TARGET_OPENGL_450:
return glslang::EShTargetOpenGL_450;
default: