SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
parent
019f08fcd8
commit
6c292d3ba7
200 changed files with 7841 additions and 5577 deletions
21
Test/baseResults/spv.uniformArray.frag.out
Executable file → Normal file
21
Test/baseResults/spv.uniformArray.frag.out
Executable file → Normal file
|
|
@ -10,8 +10,8 @@ Linked fragment stage:
|
|||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 47
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
EntryPoint Fragment 4 "main" 14 25 35 47
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
Name 9 "texColor"
|
||||
|
|
@ -20,6 +20,7 @@ Linked fragment stage:
|
|||
Name 35 "alpha"
|
||||
Name 47 "gl_FragColor"
|
||||
Name 52 "texSampler2D"
|
||||
Decorate 52(texSampler2D) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
|
|
@ -28,20 +29,20 @@ Linked fragment stage:
|
|||
10: TypeInt 32 0
|
||||
11: 10(int) Constant 6
|
||||
12: TypeArray 7(fvec4) 11
|
||||
13: TypePointer UniformConstant 12
|
||||
14(color): 13(ptr) Variable UniformConstant
|
||||
13: TypePointer Input 12
|
||||
14(color): 13(ptr) Variable Input
|
||||
15: TypeInt 32 1
|
||||
16: 15(int) Constant 1
|
||||
17: TypePointer UniformConstant 7(fvec4)
|
||||
17: TypePointer Input 7(fvec4)
|
||||
23: TypeVector 6(float) 3
|
||||
24: TypePointer UniformConstant 23(fvec3)
|
||||
25(inColor): 24(ptr) Variable UniformConstant
|
||||
24: TypePointer Input 23(fvec3)
|
||||
25(inColor): 24(ptr) Variable Input
|
||||
32: 10(int) Constant 16
|
||||
33: TypeArray 6(float) 32
|
||||
34: TypePointer UniformConstant 33
|
||||
35(alpha): 34(ptr) Variable UniformConstant
|
||||
34: TypePointer Input 33
|
||||
35(alpha): 34(ptr) Variable Input
|
||||
36: 15(int) Constant 12
|
||||
37: TypePointer UniformConstant 6(float)
|
||||
37: TypePointer Input 6(float)
|
||||
40: 10(int) Constant 3
|
||||
41: TypePointer Function 6(float)
|
||||
46: TypePointer Output 7(fvec4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue