101 lines
4.7 KiB
Plaintext
Executable File
101 lines
4.7 KiB
Plaintext
Executable File
spv.varyingArray.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:6: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 62
|
|
|
|
Source GLSL 130
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main"
|
|
ExecutionMode 4 OriginLowerLeft
|
|
Name 4 "main"
|
|
Name 10 "texColor"
|
|
Name 14 "texSampler2D"
|
|
Name 20 "gl_TexCoord"
|
|
Name 35 "color"
|
|
Name 40 "alpha"
|
|
Name 45 "gl_FragColor"
|
|
Name 49 "foo"
|
|
Decorate 20(gl_TexCoord) Smooth
|
|
Decorate 35(color) Smooth
|
|
Decorate 40(alpha) Smooth
|
|
Decorate 45(gl_FragColor) BuiltIn FragColor
|
|
Decorate 49(foo) Smooth
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeFloat 32
|
|
8: TypeVector 7(float) 4
|
|
9: TypePointer Function 8(fvec4)
|
|
11: TypeImage 7(float) 2D sampled format:Unknown
|
|
12: TypeSampledImage 11
|
|
13: TypePointer UniformConstant 12
|
|
14(texSampler2D): 13(ptr) Variable UniformConstant
|
|
16: TypeInt 32 0
|
|
17: 16(int) Constant 6
|
|
18: TypeArray 8(fvec4) 17
|
|
19: TypePointer Input 18
|
|
20(gl_TexCoord): 19(ptr) Variable Input
|
|
21: TypeInt 32 1
|
|
22: 21(int) Constant 4
|
|
23: TypePointer Input 8(fvec4)
|
|
26: 21(int) Constant 5
|
|
30: TypeVector 7(float) 2
|
|
35(color): 23(ptr) Variable Input
|
|
39: TypePointer Input 7(float)
|
|
40(alpha): 39(ptr) Variable Input
|
|
44: TypePointer Output 8(fvec4)
|
|
45(gl_FragColor): 44(ptr) Variable Output
|
|
46: 16(int) Constant 3
|
|
47: TypeArray 8(fvec4) 46
|
|
48: TypePointer Input 47
|
|
49(foo): 48(ptr) Variable Input
|
|
50: 21(int) Constant 1
|
|
53: 21(int) Constant 0
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
10(texColor): 9(ptr) Variable Function
|
|
15: 12 Load 14(texSampler2D)
|
|
24: 23(ptr) AccessChain 20(gl_TexCoord) 22
|
|
25: 8(fvec4) Load 24
|
|
27: 23(ptr) AccessChain 20(gl_TexCoord) 26
|
|
28: 8(fvec4) Load 27
|
|
29: 8(fvec4) FAdd 25 28
|
|
31: 7(float) CompositeExtract 29 0
|
|
32: 7(float) CompositeExtract 29 1
|
|
33: 30(fvec2) CompositeConstruct 31 32
|
|
34: 8(fvec4) ImageSampleImplicitLod 15 33
|
|
Store 10(texColor) 34
|
|
36: 8(fvec4) Load 35(color)
|
|
37: 8(fvec4) Load 10(texColor)
|
|
38: 8(fvec4) FAdd 37 36
|
|
Store 10(texColor) 38
|
|
41: 7(float) Load 40(alpha)
|
|
42: 8(fvec4) Load 10(texColor)
|
|
43: 8(fvec4) CompositeInsert 41 42 3
|
|
Store 10(texColor) 43
|
|
51: 23(ptr) AccessChain 49(foo) 50
|
|
52: 8(fvec4) Load 51
|
|
54: 23(ptr) AccessChain 20(gl_TexCoord) 53
|
|
55: 8(fvec4) Load 54
|
|
56: 8(fvec4) FAdd 52 55
|
|
57: 23(ptr) AccessChain 20(gl_TexCoord) 22
|
|
58: 8(fvec4) Load 57
|
|
59: 8(fvec4) FAdd 56 58
|
|
60: 8(fvec4) Load 10(texColor)
|
|
61: 8(fvec4) FAdd 59 60
|
|
Store 45(gl_FragColor) 61
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|