SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).

This commit is contained in:
John Kessenich
2016-02-15 20:58:50 -07:00
parent 019f08fcd8
commit 6c292d3ba7
200 changed files with 7841 additions and 5577 deletions

View File

@@ -12,8 +12,8 @@ Linked fragment stage:
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 152
ExecutionMode 4 OriginLowerLeft
EntryPoint Fragment 4 "main" 76 152
ExecutionMode 4 OriginUpperLeft
Source GLSL 400
Name 4 "main"
Name 15 "foo(i1;i1;i1;i1;i1;i1;"
@@ -65,8 +65,8 @@ Linked fragment stage:
66: 17(float) Constant 1084227584
67: TypeInt 32 0
68: 67(int) Constant 1
75: TypePointer UniformConstant 17(float)
76(u): 75(ptr) Variable UniformConstant
75: TypePointer Input 17(float)
76(u): 75(ptr) Variable Input
78: 17(float) Constant 1078774989
79: TypeBool
84: 6(int) Constant 1000000