HLSL: Correctly identify which variables are global storage class.
This commit is contained in:
parent
532543c1c4
commit
b0a63f578a
35 changed files with 995 additions and 979 deletions
|
|
@ -2,7 +2,7 @@ hlsl.discard.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:7 Function Definition: foo(f1; (temp void)
|
||||
0:7 Function Definition: foo(f1; (global void)
|
||||
0:2 Function Parameters:
|
||||
0:2 'f' (in float)
|
||||
0:? Sequence
|
||||
|
|
@ -14,11 +14,11 @@ gl_FragCoord origin is upper left
|
|||
0:3 1.000000
|
||||
0:3 true case
|
||||
0:4 Branch: Kill
|
||||
0:15 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
|
||||
0:15 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
|
||||
0:8 Function Parameters:
|
||||
0:8 'input' (in 4-component vector of float)
|
||||
0:? Sequence
|
||||
0:9 Function Call: foo(f1; (temp void)
|
||||
0:9 Function Call: foo(f1; (global void)
|
||||
0:9 direct index (temp float)
|
||||
0:9 'input' (in 4-component vector of float)
|
||||
0:9 Constant:
|
||||
|
|
@ -48,7 +48,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:7 Function Definition: foo(f1; (temp void)
|
||||
0:7 Function Definition: foo(f1; (global void)
|
||||
0:2 Function Parameters:
|
||||
0:2 'f' (in float)
|
||||
0:? Sequence
|
||||
|
|
@ -60,11 +60,11 @@ gl_FragCoord origin is upper left
|
|||
0:3 1.000000
|
||||
0:3 true case
|
||||
0:4 Branch: Kill
|
||||
0:15 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float)
|
||||
0:15 Function Definition: PixelShaderFunction(vf4; (global 4-component vector of float)
|
||||
0:8 Function Parameters:
|
||||
0:8 'input' (in 4-component vector of float)
|
||||
0:? Sequence
|
||||
0:9 Function Call: foo(f1; (temp void)
|
||||
0:9 Function Call: foo(f1; (global void)
|
||||
0:9 direct index (temp float)
|
||||
0:9 'input' (in 4-component vector of float)
|
||||
0:9 Constant:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue