SPV: Implement boolean selection for mix().
Use OpSelect to implement boolean selection of mix(). FMix is applicable to linear blending of mix().
This commit is contained in:
parent
6cc7674b6d
commit
d715adc0f2
3 changed files with 9 additions and 8 deletions
|
|
@ -281,7 +281,7 @@ Linked fragment stage:
|
|||
176: 7(fvec4) Load 9(v)
|
||||
177: 7(fvec4) Load 9(v)
|
||||
182: 179(bvec4) Load 181(ub41)
|
||||
183: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 176 177 182
|
||||
183: 7(fvec4) Select 182 177 176
|
||||
184: 7(fvec4) Load 9(v)
|
||||
185: 7(fvec4) FAdd 184 183
|
||||
Store 9(v) 185
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue