HLSL: Allow use of $Global members in between function calls.
This allows global initializers to use $Global members.
This commit is contained in:
parent
7a41f96d10
commit
000c818efb
53 changed files with 4566 additions and 4558 deletions
|
|
@ -10,7 +10,7 @@ gl_FragCoord origin is upper left
|
|||
0:10 Branch: Return with expression
|
||||
0:10 'inFloat1' ( in 1-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform 1-component vector of float f1, layout( offset=16) uniform 1X1 matrix of float fmat11, layout( offset=32) uniform 4X1 matrix of float fmat41, layout( offset=48) uniform 1X2 matrix of float fmat12, layout( offset=80) uniform 2X3 matrix of double dmat23, layout( offset=128) uniform 4X4 matrix of int int44})
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 1-component vector of float f1, uniform 1X1 matrix of float fmat11, uniform 4X1 matrix of float fmat41, uniform 1X2 matrix of float fmat12, uniform 2X3 matrix of double dmat23, uniform 4X4 matrix of int int44})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -28,7 +28,7 @@ gl_FragCoord origin is upper left
|
|||
0:10 Branch: Return with expression
|
||||
0:10 'inFloat1' ( in 1-component vector of float)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform 1-component vector of float f1, layout( offset=16) uniform 1X1 matrix of float fmat11, layout( offset=32) uniform 4X1 matrix of float fmat41, layout( offset=48) uniform 1X2 matrix of float fmat12, layout( offset=80) uniform 2X3 matrix of double dmat23, layout( offset=128) uniform 4X4 matrix of int int44})
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 1-component vector of float f1, uniform 1X1 matrix of float fmat11, uniform 4X1 matrix of float fmat41, uniform 1X2 matrix of float fmat12, uniform 2X3 matrix of double dmat23, uniform 4X4 matrix of int int44})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue