SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -1,18 +1,20 @@
|
||||
spv.voidFunction.frag
|
||||
Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 44
|
||||
// Id's are bound by 43
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 37 41
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 140
|
||||
EntryPoint Fragment 4 "main" 24 37 40 42
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 400
|
||||
Name 4 "main"
|
||||
Name 6 "foo("
|
||||
Name 8 "foo2("
|
||||
@@ -20,8 +22,8 @@ Linked fragment stage:
|
||||
Name 22 "outColor"
|
||||
Name 24 "bigColor"
|
||||
Name 37 "gl_FragColor"
|
||||
Name 41 "BaseColor"
|
||||
Name 43 "d"
|
||||
Name 40 "BaseColor"
|
||||
Name 42 "d"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
10: TypeFloat 32
|
||||
@@ -31,17 +33,16 @@ Linked fragment stage:
|
||||
15: 10(float) Constant 1065353216
|
||||
20: TypeVector 10(float) 4
|
||||
21: TypePointer Function 20(fvec4)
|
||||
23: TypePointer UniformConstant 20(fvec4)
|
||||
24(bigColor): 23(ptr) Variable UniformConstant
|
||||
23: TypePointer Input 20(fvec4)
|
||||
24(bigColor): 23(ptr) Variable Input
|
||||
29: TypeInt 32 0
|
||||
30: 29(int) Constant 0
|
||||
31: TypePointer Function 10(float)
|
||||
36: TypePointer Output 20(fvec4)
|
||||
37(gl_FragColor): 36(ptr) Variable Output
|
||||
40: TypePointer Input 20(fvec4)
|
||||
41(BaseColor): 40(ptr) Variable Input
|
||||
42: TypePointer UniformConstant 10(float)
|
||||
43(d): 42(ptr) Variable UniformConstant
|
||||
40(BaseColor): 23(ptr) Variable Input
|
||||
41: TypePointer Input 10(float)
|
||||
42(d): 41(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
22(outColor): 21(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user