Tests: Move to just linefeed to simply cross-platform test changes.
This commit is contained in:
@@ -1,79 +1,79 @@
|
||||
spv.uniformArray.frag
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 53
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 9 "texColor"
|
||||
Name 14 "color"
|
||||
Name 25 "inColor"
|
||||
Name 35 "alpha"
|
||||
Name 47 "gl_FragColor"
|
||||
Name 52 "texSampler2D"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
8: TypePointer Function 7(fvec4)
|
||||
10: TypeInt 32 0
|
||||
11: 10(int) Constant 6
|
||||
12: TypeArray 7(fvec4) 11
|
||||
13: TypePointer UniformConstant 12
|
||||
14(color): 13(ptr) Variable UniformConstant
|
||||
15: TypeInt 32 1
|
||||
16: 15(int) Constant 1
|
||||
17: TypePointer UniformConstant 7(fvec4)
|
||||
23: TypeVector 6(float) 3
|
||||
24: TypePointer UniformConstant 23(fvec3)
|
||||
25(inColor): 24(ptr) Variable UniformConstant
|
||||
32: 10(int) Constant 16
|
||||
33: TypeArray 6(float) 32
|
||||
34: TypePointer UniformConstant 33
|
||||
35(alpha): 34(ptr) Variable UniformConstant
|
||||
36: 15(int) Constant 12
|
||||
37: TypePointer UniformConstant 6(float)
|
||||
40: 10(int) Constant 3
|
||||
41: TypePointer Function 6(float)
|
||||
46: TypePointer Output 7(fvec4)
|
||||
47(gl_FragColor): 46(ptr) Variable Output
|
||||
49: TypeImage 6(float) 2D sampled format:Unknown
|
||||
50: TypeSampledImage 49
|
||||
51: TypePointer UniformConstant 50
|
||||
52(texSampler2D): 51(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(texColor): 8(ptr) Variable Function
|
||||
18: 17(ptr) AccessChain 14(color) 16
|
||||
19: 7(fvec4) Load 18
|
||||
20: 17(ptr) AccessChain 14(color) 16
|
||||
21: 7(fvec4) Load 20
|
||||
22: 7(fvec4) FAdd 19 21
|
||||
Store 9(texColor) 22
|
||||
26: 23(fvec3) Load 25(inColor)
|
||||
27: 7(fvec4) Load 9(texColor)
|
||||
28: 23(fvec3) VectorShuffle 27 27 0 1 2
|
||||
29: 23(fvec3) FAdd 28 26
|
||||
30: 7(fvec4) Load 9(texColor)
|
||||
31: 7(fvec4) VectorShuffle 30 29 4 5 6 3
|
||||
Store 9(texColor) 31
|
||||
38: 37(ptr) AccessChain 35(alpha) 36
|
||||
39: 6(float) Load 38
|
||||
42: 41(ptr) AccessChain 9(texColor) 40
|
||||
43: 6(float) Load 42
|
||||
44: 6(float) FAdd 43 39
|
||||
45: 41(ptr) AccessChain 9(texColor) 40
|
||||
Store 45 44
|
||||
48: 7(fvec4) Load 9(texColor)
|
||||
Store 47(gl_FragColor) 48
|
||||
Return
|
||||
FunctionEnd
|
||||
spv.uniformArray.frag
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 53
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main"
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 130
|
||||
Name 4 "main"
|
||||
Name 9 "texColor"
|
||||
Name 14 "color"
|
||||
Name 25 "inColor"
|
||||
Name 35 "alpha"
|
||||
Name 47 "gl_FragColor"
|
||||
Name 52 "texSampler2D"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
8: TypePointer Function 7(fvec4)
|
||||
10: TypeInt 32 0
|
||||
11: 10(int) Constant 6
|
||||
12: TypeArray 7(fvec4) 11
|
||||
13: TypePointer UniformConstant 12
|
||||
14(color): 13(ptr) Variable UniformConstant
|
||||
15: TypeInt 32 1
|
||||
16: 15(int) Constant 1
|
||||
17: TypePointer UniformConstant 7(fvec4)
|
||||
23: TypeVector 6(float) 3
|
||||
24: TypePointer UniformConstant 23(fvec3)
|
||||
25(inColor): 24(ptr) Variable UniformConstant
|
||||
32: 10(int) Constant 16
|
||||
33: TypeArray 6(float) 32
|
||||
34: TypePointer UniformConstant 33
|
||||
35(alpha): 34(ptr) Variable UniformConstant
|
||||
36: 15(int) Constant 12
|
||||
37: TypePointer UniformConstant 6(float)
|
||||
40: 10(int) Constant 3
|
||||
41: TypePointer Function 6(float)
|
||||
46: TypePointer Output 7(fvec4)
|
||||
47(gl_FragColor): 46(ptr) Variable Output
|
||||
49: TypeImage 6(float) 2D sampled format:Unknown
|
||||
50: TypeSampledImage 49
|
||||
51: TypePointer UniformConstant 50
|
||||
52(texSampler2D): 51(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(texColor): 8(ptr) Variable Function
|
||||
18: 17(ptr) AccessChain 14(color) 16
|
||||
19: 7(fvec4) Load 18
|
||||
20: 17(ptr) AccessChain 14(color) 16
|
||||
21: 7(fvec4) Load 20
|
||||
22: 7(fvec4) FAdd 19 21
|
||||
Store 9(texColor) 22
|
||||
26: 23(fvec3) Load 25(inColor)
|
||||
27: 7(fvec4) Load 9(texColor)
|
||||
28: 23(fvec3) VectorShuffle 27 27 0 1 2
|
||||
29: 23(fvec3) FAdd 28 26
|
||||
30: 7(fvec4) Load 9(texColor)
|
||||
31: 7(fvec4) VectorShuffle 30 29 4 5 6 3
|
||||
Store 9(texColor) 31
|
||||
38: 37(ptr) AccessChain 35(alpha) 36
|
||||
39: 6(float) Load 38
|
||||
42: 41(ptr) AccessChain 9(texColor) 40
|
||||
43: 6(float) Load 42
|
||||
44: 6(float) FAdd 43 39
|
||||
45: 41(ptr) AccessChain 9(texColor) 40
|
||||
Store 45 44
|
||||
48: 7(fvec4) Load 9(texColor)
|
||||
Store 47(gl_FragColor) 48
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user