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
|
|
@ -4,7 +4,7 @@ WARNING: 0:4: 'immediate sampler state' : unimplemented
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:53 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:53 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:53 Function Parameters:
|
||||
0:? Sequence
|
||||
0:57 move second child to first child (temp int)
|
||||
|
|
@ -216,7 +216,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 0.900000
|
||||
0:86 move second child to first child (temp 4-component vector of float)
|
||||
0:86 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:86 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:86 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:86 Constant:
|
||||
0:86 0 (const int)
|
||||
0:86 Constant:
|
||||
|
|
@ -225,8 +225,8 @@ gl_FragCoord origin is upper left
|
|||
0:86 1.000000
|
||||
0:86 1.000000
|
||||
0:87 move second child to first child (temp float)
|
||||
0:87 Depth: direct index for structure (temp float FragDepth)
|
||||
0:87 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:87 Depth: direct index for structure (temp float)
|
||||
0:87 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:87 Constant:
|
||||
0:87 1 (const int)
|
||||
0:87 Constant:
|
||||
|
|
@ -236,13 +236,13 @@ gl_FragCoord origin is upper left
|
|||
0:89 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:89 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:89 Constant:
|
||||
0:89 0 (const int)
|
||||
0:89 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:89 Depth: direct index for structure (temp float FragDepth)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:89 Depth: direct index for structure (temp float)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:89 Constant:
|
||||
0:89 1 (const int)
|
||||
0:89 Branch: Return
|
||||
|
|
@ -273,7 +273,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:53 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:53 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:53 Function Parameters:
|
||||
0:? Sequence
|
||||
0:57 move second child to first child (temp int)
|
||||
|
|
@ -485,7 +485,7 @@ gl_FragCoord origin is upper left
|
|||
0:? 0.900000
|
||||
0:86 move second child to first child (temp 4-component vector of float)
|
||||
0:86 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:86 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:86 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:86 Constant:
|
||||
0:86 0 (const int)
|
||||
0:86 Constant:
|
||||
|
|
@ -494,8 +494,8 @@ gl_FragCoord origin is upper left
|
|||
0:86 1.000000
|
||||
0:86 1.000000
|
||||
0:87 move second child to first child (temp float)
|
||||
0:87 Depth: direct index for structure (temp float FragDepth)
|
||||
0:87 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:87 Depth: direct index for structure (temp float)
|
||||
0:87 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:87 Constant:
|
||||
0:87 1 (const int)
|
||||
0:87 Constant:
|
||||
|
|
@ -505,13 +505,13 @@ gl_FragCoord origin is upper left
|
|||
0:89 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:89 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:89 Constant:
|
||||
0:89 0 (const int)
|
||||
0:89 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:89 Depth: direct index for structure (temp float FragDepth)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:89 Depth: direct index for structure (temp float)
|
||||
0:89 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:89 Constant:
|
||||
0:89 1 (const int)
|
||||
0:89 Branch: Return
|
||||
|
|
@ -609,7 +609,6 @@ gl_FragCoord origin is upper left
|
|||
Decorate 147(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 156(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 165(g_tTexcdu4) DescriptorSet 0
|
||||
MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 180(Color) Location 0
|
||||
Decorate 184(Depth) BuiltIn FragDepth
|
||||
Decorate 188(g_sSamp2d) DescriptorSet 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue