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
|
|
@ -6,8 +6,8 @@ gl_FragCoord origin is upper left
|
|||
0:20 Function Parameters:
|
||||
0:? Sequence
|
||||
0:37 clamp ( temp float)
|
||||
0:37 fpos: direct index for structure (layout( offset=52) uniform float)
|
||||
0:37 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2, layout( offset=48) uniform uint upos, layout( offset=52) uniform float fpos})
|
||||
0:37 fpos: direct index for structure ( uniform float)
|
||||
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
|
||||
0:37 Constant:
|
||||
0:37 9 (const uint)
|
||||
0:37 Constant:
|
||||
|
|
@ -94,10 +94,10 @@ gl_FragCoord origin is upper left
|
|||
0:20 Constant:
|
||||
0:20 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
|
||||
0:? 'g_tTexbfs' (layout( r32f) readonly uniform imageBuffer)
|
||||
0:? 'g_tTex1df4' ( uniform texture1D)
|
||||
0:? 'color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2, layout( offset=48) uniform uint upos, layout( offset=52) uniform float fpos})
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -110,8 +110,8 @@ gl_FragCoord origin is upper left
|
|||
0:20 Function Parameters:
|
||||
0:? Sequence
|
||||
0:37 clamp ( temp float)
|
||||
0:37 fpos: direct index for structure (layout( offset=52) uniform float)
|
||||
0:37 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2, layout( offset=48) uniform uint upos, layout( offset=52) uniform float fpos})
|
||||
0:37 fpos: direct index for structure ( uniform float)
|
||||
0:37 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
|
||||
0:37 Constant:
|
||||
0:37 9 (const uint)
|
||||
0:37 Constant:
|
||||
|
|
@ -198,10 +198,10 @@ gl_FragCoord origin is upper left
|
|||
0:20 Constant:
|
||||
0:20 0 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int i, uniform uint u, uniform float f, uniform bool b, uniform 2-component vector of int i2, uniform 2-component vector of uint u2, uniform 2-component vector of float f2, uniform 2-component vector of bool b2, uniform uint upos, uniform float fpos})
|
||||
0:? 'g_tTexbfs' (layout( r32f) readonly uniform imageBuffer)
|
||||
0:? 'g_tTex1df4' ( uniform texture1D)
|
||||
0:? 'color' (layout( location=0) out 4-component vector of float)
|
||||
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2, layout( offset=48) uniform uint upos, layout( offset=52) uniform float fpos})
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue