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.gatherRGBA.array.dx10.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:33 Sequence
|
||||
|
|
@ -247,7 +247,7 @@ gl_FragCoord origin is upper left
|
|||
0:65 3 (const int)
|
||||
0:67 move second child to first child (temp 4-component vector of float)
|
||||
0:67 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:67 Constant:
|
||||
0:67 0 (const int)
|
||||
0:67 Constant:
|
||||
|
|
@ -256,8 +256,8 @@ gl_FragCoord origin is upper left
|
|||
0:67 1.000000
|
||||
0:67 1.000000
|
||||
0:68 move second child to first child (temp float)
|
||||
0:68 Depth: direct index for structure (temp float FragDepth)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:68 Depth: direct index for structure (temp float)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:68 Constant:
|
||||
0:68 1 (const int)
|
||||
0:68 Constant:
|
||||
|
|
@ -267,13 +267,13 @@ gl_FragCoord origin is upper left
|
|||
0:70 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:70 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 0 (const int)
|
||||
0:70 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:70 Depth: direct index for structure (temp float FragDepth)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 Depth: direct index for structure (temp float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 1 (const int)
|
||||
0:70 Branch: Return
|
||||
|
|
@ -303,7 +303,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:28 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:28 Function Parameters:
|
||||
0:? Sequence
|
||||
0:33 Sequence
|
||||
|
|
@ -548,7 +548,7 @@ gl_FragCoord origin is upper left
|
|||
0:65 3 (const int)
|
||||
0:67 move second child to first child (temp 4-component vector of float)
|
||||
0:67 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:67 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:67 Constant:
|
||||
0:67 0 (const int)
|
||||
0:67 Constant:
|
||||
|
|
@ -557,8 +557,8 @@ gl_FragCoord origin is upper left
|
|||
0:67 1.000000
|
||||
0:67 1.000000
|
||||
0:68 move second child to first child (temp float)
|
||||
0:68 Depth: direct index for structure (temp float FragDepth)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:68 Depth: direct index for structure (temp float)
|
||||
0:68 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:68 Constant:
|
||||
0:68 1 (const int)
|
||||
0:68 Constant:
|
||||
|
|
@ -568,13 +568,13 @@ gl_FragCoord origin is upper left
|
|||
0:70 move second child to first child (temp 4-component vector of float)
|
||||
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
|
||||
0:70 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 0 (const int)
|
||||
0:70 move second child to first child (temp float)
|
||||
0:? 'Depth' (out float FragDepth)
|
||||
0:70 Depth: direct index for structure (temp float FragDepth)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:70 Depth: direct index for structure (temp float)
|
||||
0:70 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
|
||||
0:70 Constant:
|
||||
0:70 1 (const int)
|
||||
0:70 Branch: Return
|
||||
|
|
@ -662,7 +662,6 @@ gl_FragCoord origin is upper left
|
|||
Decorate 112(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 124(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 134(g_tTexcdu4a) DescriptorSet 0
|
||||
MemberDecorate 195(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 204(Color) Location 0
|
||||
Decorate 208(Depth) BuiltIn FragDepth
|
||||
Decorate 212(g_sSamp2d) DescriptorSet 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue