Fix #857: Convert uniform int to local bool for struct alias assignment.
This was done for one direction, but not both directions, so this commit picks up the other direction.
This commit is contained in:
parent
0d2b4713c5
commit
80f92a190a
4 changed files with 303 additions and 295 deletions
|
|
@ -53,9 +53,9 @@ Warning, version 450 is not yet complete; most version-specific features are pre
|
|||
29: 6(bool) ConstantFalse
|
||||
30: 9(bvec2) ConstantComposite 29 29
|
||||
31: 22(int) Constant 0
|
||||
32: 23(ivec2) ConstantComposite 31 31
|
||||
33: 22(int) Constant 1
|
||||
34: 23(ivec2) ConstantComposite 33 33
|
||||
32: 22(int) Constant 1
|
||||
33: 23(ivec2) ConstantComposite 31 31
|
||||
34: 23(ivec2) ConstantComposite 32 32
|
||||
36: TypePointer Uniform 23(ivec2)
|
||||
38: TypeVector 22(int) 4
|
||||
39(Uniform): TypeStruct 38(ivec4)
|
||||
|
|
@ -73,7 +73,7 @@ Warning, version 450 is not yet complete; most version-specific features are pre
|
|||
5: Label
|
||||
62(param): 8(ptr) Variable Function
|
||||
67(param): 10(ptr) Variable Function
|
||||
35: 23(ivec2) Select 30 34 32
|
||||
35: 23(ivec2) Select 30 34 33
|
||||
37: 36(ptr) AccessChain 26 28
|
||||
Store 37 35
|
||||
43: 42(ptr) AccessChain 41 28
|
||||
|
|
@ -88,7 +88,7 @@ Warning, version 450 is not yet complete; most version-specific features are pre
|
|||
51: 22(int) CompositeExtract 50 0
|
||||
52: 6(bool) INotEqual 51 31
|
||||
53: 9(bvec2) CompositeConstruct 52 52
|
||||
54: 23(ivec2) Select 53 34 32
|
||||
54: 23(ivec2) Select 53 34 33
|
||||
55: 36(ptr) AccessChain 26 28
|
||||
Store 55 54
|
||||
Branch 48
|
||||
|
|
@ -106,7 +106,7 @@ Warning, version 450 is not yet complete; most version-specific features are pre
|
|||
Store 62(param) 66
|
||||
68: 2 FunctionCall 14(foo(vb4;vb2;) 62(param) 67(param)
|
||||
69: 9(bvec2) Load 67(param)
|
||||
70: 23(ivec2) Select 69 34 32
|
||||
70: 23(ivec2) Select 69 34 33
|
||||
71: 36(ptr) AccessChain 26 28
|
||||
Store 71 70
|
||||
Branch 61
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue