HLSL: Remove extraneous built-in member decorations for IO structs used in non-IO situations.
This commit is contained in:
@@ -2,7 +2,7 @@ hlsl.samplelevel.offsetarray.dx10.frag
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:20 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:20 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:20 Function Parameters:
|
||||
0:? Sequence
|
||||
0:23 Sequence
|
||||
@@ -97,7 +97,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 1 (const int)
|
||||
0:33 move second child to first child (temp 4-component vector of float)
|
||||
0:33 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:33 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:33 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:33 Constant:
|
||||
0:33 0 (const int)
|
||||
0:33 Constant:
|
||||
@@ -106,8 +106,8 @@ gl_FragCoord origin is upper left
|
||||
0:33 1.000000
|
||||
0:33 1.000000
|
||||
0:34 move second child to first child (temp float)
|
||||
0:34 Depth: direct index for structure (temp float FragDepth)
|
||||
0:34 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:34 Depth: direct index for structure (temp float)
|
||||
0:34 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:34 Constant:
|
||||
0:34 1 (const int)
|
||||
0:34 Constant:
|
||||
@@ -117,13 +117,13 @@ gl_FragCoord origin is upper left
|
||||
0:36 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:36 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:36 Depth: direct index for structure (temp float FragDepth)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:36 Depth: direct index for structure (temp float)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:36 Constant:
|
||||
0:36 1 (const int)
|
||||
0:36 Branch: Return
|
||||
@@ -146,7 +146,7 @@ Linked fragment stage:
|
||||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:20 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:20 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:20 Function Parameters:
|
||||
0:? Sequence
|
||||
0:23 Sequence
|
||||
@@ -241,7 +241,7 @@ gl_FragCoord origin is upper left
|
||||
0:? 1 (const int)
|
||||
0:33 move second child to first child (temp 4-component vector of float)
|
||||
0:33 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:33 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:33 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:33 Constant:
|
||||
0:33 0 (const int)
|
||||
0:33 Constant:
|
||||
@@ -250,8 +250,8 @@ gl_FragCoord origin is upper left
|
||||
0:33 1.000000
|
||||
0:33 1.000000
|
||||
0:34 move second child to first child (temp float)
|
||||
0:34 Depth: direct index for structure (temp float FragDepth)
|
||||
0:34 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:34 Depth: direct index for structure (temp float)
|
||||
0:34 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:34 Constant:
|
||||
0:34 1 (const int)
|
||||
0:34 Constant:
|
||||
@@ -261,13 +261,13 @@ gl_FragCoord origin is upper left
|
||||
0:36 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:36 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:36 Depth: direct index for structure (temp float FragDepth)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:36 Depth: direct index for structure (temp float)
|
||||
0:36 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:36 Constant:
|
||||
0:36 1 (const int)
|
||||
0:36 Branch: Return
|
||||
@@ -323,7 +323,6 @@ gl_FragCoord origin is upper left
|
||||
Decorate 60(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 73(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 84(g_tTex2du4) DescriptorSet 0
|
||||
MemberDecorate 94(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 103(Color) Location 0
|
||||
Decorate 107(Depth) BuiltIn FragDepth
|
||||
Decorate 111(g_tTex1df4a) DescriptorSet 0
|
||||
|
||||
Reference in New Issue
Block a user