SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
spv.functionCall.frag
|
||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
||||
WARNING: 0:5: varying deprecated in version 130; may be removed in future release
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 77
|
||||
// Id's are bound by 76
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 58 69
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
EntryPoint Fragment 4 "main" 35 58 69 75
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source GLSL 140
|
||||
Name 4 "main"
|
||||
Name 11 "foo(vf4;"
|
||||
@@ -27,7 +31,7 @@ Linked fragment stage:
|
||||
Name 64 "f"
|
||||
Name 66 "g"
|
||||
Name 69 "gl_FragColor"
|
||||
Name 76 "bigColor"
|
||||
Name 75 "bigColor"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -42,8 +46,8 @@ Linked fragment stage:
|
||||
24: 23(int) Constant 0
|
||||
25: TypePointer Function 6(float)
|
||||
28: 23(int) Constant 1
|
||||
34: TypePointer UniformConstant 6(float)
|
||||
35(d): 34(ptr) Variable UniformConstant
|
||||
34: TypePointer Input 6(float)
|
||||
35(d): 34(ptr) Variable Input
|
||||
37: 6(float) Constant 1082549862
|
||||
38: TypeBool
|
||||
42: 6(float) Constant 1067030938
|
||||
@@ -53,8 +57,7 @@ Linked fragment stage:
|
||||
58(BaseColor): 57(ptr) Variable Input
|
||||
68: TypePointer Output 7(fvec4)
|
||||
69(gl_FragColor): 68(ptr) Variable Output
|
||||
75: TypePointer UniformConstant 7(fvec4)
|
||||
76(bigColor): 75(ptr) Variable UniformConstant
|
||||
75(bigColor): 57(ptr) Variable Input
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
56(color): 8(ptr) Variable Function
|
||||
|
||||
Reference in New Issue
Block a user