Tests: Move to just linefeed to simply cross-platform test changes.
This commit is contained in:
@@ -1,73 +1,73 @@
|
||||
spv.doWhileLoop.frag
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 40
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
Name 9 "color"
|
||||
Name 11 "BaseColor"
|
||||
Name 27 "d"
|
||||
Name 32 "bigColor"
|
||||
Name 38 "gl_FragColor"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
8: TypePointer Function 7(fvec4)
|
||||
10: TypePointer Input 7(fvec4)
|
||||
11(BaseColor): 10(ptr) Variable Input
|
||||
17: TypeBool
|
||||
18: 17(bool) ConstantTrue
|
||||
21: TypeInt 32 0
|
||||
22: 21(int) Constant 0
|
||||
23: TypePointer Function 6(float)
|
||||
26: TypePointer UniformConstant 6(float)
|
||||
27(d): 26(ptr) Variable UniformConstant
|
||||
31: TypePointer UniformConstant 7(fvec4)
|
||||
32(bigColor): 31(ptr) Variable UniformConstant
|
||||
36: 17(bool) ConstantFalse
|
||||
37: TypePointer Output 7(fvec4)
|
||||
38(gl_FragColor): 37(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(color): 8(ptr) Variable Function
|
||||
12: 7(fvec4) Load 11(BaseColor)
|
||||
Store 9(color) 12
|
||||
Branch 13
|
||||
13: Label
|
||||
16: 17(bool) Phi 18 5 36 15
|
||||
LoopMerge 14 13 None
|
||||
Branch 19
|
||||
19: Label
|
||||
SelectionMerge 15 None
|
||||
BranchConditional 16 15 20
|
||||
20: Label
|
||||
24: 23(ptr) AccessChain 9(color) 22
|
||||
25: 6(float) Load 24
|
||||
28: 6(float) Load 27(d)
|
||||
29: 17(bool) FOrdLessThan 25 28
|
||||
SelectionMerge 30 None
|
||||
BranchConditional 29 30 14
|
||||
30: Label
|
||||
Branch 15
|
||||
15: Label
|
||||
33: 7(fvec4) Load 32(bigColor)
|
||||
34: 7(fvec4) Load 9(color)
|
||||
35: 7(fvec4) FAdd 34 33
|
||||
Store 9(color) 35
|
||||
Branch 13
|
||||
14: Label
|
||||
39: 7(fvec4) Load 9(color)
|
||||
Store 38(gl_FragColor) 39
|
||||
Return
|
||||
FunctionEnd
|
||||
spv.doWhileLoop.frag
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 40
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 11
|
||||
ExecutionMode 4 OriginLowerLeft
|
||||
Source GLSL 110
|
||||
Name 4 "main"
|
||||
Name 9 "color"
|
||||
Name 11 "BaseColor"
|
||||
Name 27 "d"
|
||||
Name 32 "bigColor"
|
||||
Name 38 "gl_FragColor"
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
8: TypePointer Function 7(fvec4)
|
||||
10: TypePointer Input 7(fvec4)
|
||||
11(BaseColor): 10(ptr) Variable Input
|
||||
17: TypeBool
|
||||
18: 17(bool) ConstantTrue
|
||||
21: TypeInt 32 0
|
||||
22: 21(int) Constant 0
|
||||
23: TypePointer Function 6(float)
|
||||
26: TypePointer UniformConstant 6(float)
|
||||
27(d): 26(ptr) Variable UniformConstant
|
||||
31: TypePointer UniformConstant 7(fvec4)
|
||||
32(bigColor): 31(ptr) Variable UniformConstant
|
||||
36: 17(bool) ConstantFalse
|
||||
37: TypePointer Output 7(fvec4)
|
||||
38(gl_FragColor): 37(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
9(color): 8(ptr) Variable Function
|
||||
12: 7(fvec4) Load 11(BaseColor)
|
||||
Store 9(color) 12
|
||||
Branch 13
|
||||
13: Label
|
||||
16: 17(bool) Phi 18 5 36 15
|
||||
LoopMerge 14 13 None
|
||||
Branch 19
|
||||
19: Label
|
||||
SelectionMerge 15 None
|
||||
BranchConditional 16 15 20
|
||||
20: Label
|
||||
24: 23(ptr) AccessChain 9(color) 22
|
||||
25: 6(float) Load 24
|
||||
28: 6(float) Load 27(d)
|
||||
29: 17(bool) FOrdLessThan 25 28
|
||||
SelectionMerge 30 None
|
||||
BranchConditional 29 30 14
|
||||
30: Label
|
||||
Branch 15
|
||||
15: Label
|
||||
33: 7(fvec4) Load 32(bigColor)
|
||||
34: 7(fvec4) Load 9(color)
|
||||
35: 7(fvec4) FAdd 34 33
|
||||
Store 9(color) 35
|
||||
Branch 13
|
||||
14: Label
|
||||
39: 7(fvec4) Load 9(color)
|
||||
Store 38(gl_FragColor) 39
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user