Merge pull request #659 from steve-lunarg/d3dcolortoubyte4
Add D3DCOLORtoUBYTE4 decomposition
This commit is contained in:
commit
5abd308e71
7 changed files with 174 additions and 7 deletions
|
|
@ -93,9 +93,22 @@ ERROR: node is still EOpNull!
|
|||
0:8 'inF0' (in float)
|
||||
0:8 Construct vec3 (in 3-component vector of float)
|
||||
0:8 'inF1' (in float)
|
||||
0:9 Function Call: D3DCOLORtoUBYTE4(vf4; (temp 4-component vector of int)
|
||||
0:9 Construct vec4 (in 4-component vector of float)
|
||||
0:9 'inF0' (in float)
|
||||
0:9 Convert float to int (temp 4-component vector of int)
|
||||
0:9 vector-scale (temp 4-component vector of float)
|
||||
0:9 Constant:
|
||||
0:9 255.001953
|
||||
0:9 vector swizzle (temp 4-component vector of float)
|
||||
0:9 Construct vec4 (in 4-component vector of float)
|
||||
0:9 'inF0' (in float)
|
||||
0:9 Sequence
|
||||
0:9 Constant:
|
||||
0:9 2 (const int)
|
||||
0:9 Constant:
|
||||
0:9 1 (const int)
|
||||
0:9 Constant:
|
||||
0:9 0 (const int)
|
||||
0:9 Constant:
|
||||
0:9 3 (const int)
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:12 ERROR: Bad unary op
|
||||
|
|
@ -449,9 +462,22 @@ ERROR: node is still EOpNull!
|
|||
0:8 'inF0' (in float)
|
||||
0:8 Construct vec3 (in 3-component vector of float)
|
||||
0:8 'inF1' (in float)
|
||||
0:9 Function Call: D3DCOLORtoUBYTE4(vf4; (temp 4-component vector of int)
|
||||
0:9 Construct vec4 (in 4-component vector of float)
|
||||
0:9 'inF0' (in float)
|
||||
0:9 Convert float to int (temp 4-component vector of int)
|
||||
0:9 vector-scale (temp 4-component vector of float)
|
||||
0:9 Constant:
|
||||
0:9 255.001953
|
||||
0:9 vector swizzle (temp 4-component vector of float)
|
||||
0:9 Construct vec4 (in 4-component vector of float)
|
||||
0:9 'inF0' (in float)
|
||||
0:9 Sequence
|
||||
0:9 Constant:
|
||||
0:9 2 (const int)
|
||||
0:9 Constant:
|
||||
0:9 1 (const int)
|
||||
0:9 Constant:
|
||||
0:9 0 (const int)
|
||||
0:9 Constant:
|
||||
0:9 3 (const int)
|
||||
0:10 Constant:
|
||||
0:10 0.000000
|
||||
0:12 ERROR: Bad unary op
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue