HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.
This commit is contained in:
parent
86f7138706
commit
6b71c400f8
56 changed files with 724 additions and 769 deletions
|
|
@ -2,7 +2,7 @@ hlsl.samplecmp.offsetarray.dx10.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Function Parameters:
|
||||
0:? Sequence
|
||||
0:42 Sequence
|
||||
|
|
@ -103,7 +103,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 3 (const int)
|
||||
0:63 move second child to first child (temp 4-component vector of float)
|
||||
0:63 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:63 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:63 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:63 Constant:
|
||||
0:63 0 (const int)
|
||||
0:63 Constant:
|
||||
|
|
@ -112,8 +112,8 @@ gl_FragCoord origin is upper left
|
|||
0:63 1.000000
|
||||
0:63 1.000000
|
||||
0:64 move second child to first child (temp float)
|
||||
0:64 Depth: direct index for structure (temp float FragDepth)
|
||||
0:64 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:64 Depth: direct index for structure (temp float)
|
||||
0:64 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:64 Constant:
|
||||
0:64 1 (const int)
|
||||
0:64 Constant:
|
||||
|
|
@ -123,13 +123,13 @@ gl_FragCoord origin is upper left
|
|||
0:66 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:66 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:66 Constant:
|
||||
0:66 0 (const int)
|
||||
0:66 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:66 Depth: direct index for structure (temp float FragDepth)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:66 Depth: direct index for structure (temp float)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:66 Constant:
|
||||
0:66 1 (const int)
|
||||
0:66 Branch: Return
|
||||
|
|
@ -166,7 +166,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:38 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:38 Function Parameters:
|
||||
0:? Sequence
|
||||
0:42 Sequence
|
||||
|
|
@ -267,7 +267,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 3 (const int)
|
||||
0:63 move second child to first child (temp 4-component vector of float)
|
||||
0:63 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:63 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:63 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:63 Constant:
|
||||
0:63 0 (const int)
|
||||
0:63 Constant:
|
||||
|
|
@ -276,8 +276,8 @@ gl_FragCoord origin is upper left
|
|||
0:63 1.000000
|
||||
0:63 1.000000
|
||||
0:64 move second child to first child (temp float)
|
||||
0:64 Depth: direct index for structure (temp float FragDepth)
|
||||
0:64 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:64 Depth: direct index for structure (temp float)
|
||||
0:64 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:64 Constant:
|
||||
0:64 1 (const int)
|
||||
0:64 Constant:
|
||||
|
|
@ -287,13 +287,13 @@ gl_FragCoord origin is upper left
|
|||
0:66 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:66 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:66 Constant:
|
||||
0:66 0 (const int)
|
||||
0:66 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:66 Depth: direct index for structure (temp float FragDepth)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:66 Depth: direct index for structure (temp float)
|
||||
0:66 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:66 Constant:
|
||||
0:66 1 (const int)
|
||||
0:66 Branch: Return
|
||||
|
|
@ -377,7 +377,6 @@ gl_FragCoord origin is upper left
|
|||
Decorate 58(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 76(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 88(g_tTex2du4a) DescriptorSet 0
|
||||
MemberDecorate 98(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 109(Color) Location 0
|
||||
Decorate 113(Depth) BuiltIn FragDepth
|
||||
Decorate 119(g_tTex1df4) DescriptorSet 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue