HLSL: Remove recent change to put locations on SV_TARGET*.
This put locations on members of structures, which is not allowed in either AST or SPIR-V. This was caught by asserts in the debug build.
This commit is contained in:
parent
510d83b384
commit
a05d8b5604
56 changed files with 712 additions and 764 deletions
|
|
@ -2,7 +2,7 @@ hlsl.gatherRGBA.basic.dx10.frag
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:78 Function Definition: main( (global structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:78 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:34 Function Parameters:
|
||||
0:? Sequence
|
||||
0:39 Sequence
|
||||
|
|
@ -246,8 +246,8 @@ gl_FragCoord origin is upper left
|
|||
0:71 Constant:
|
||||
0:71 3 (const int)
|
||||
0:73 move second child to first child (temp 4-component vector of float)
|
||||
0:73 Color: direct index for structure (layout(location=0 ) temp 4-component vector of float)
|
||||
0:73 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:73 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:73 Constant:
|
||||
0:73 0 (const int)
|
||||
0:73 Constant:
|
||||
|
|
@ -257,15 +257,15 @@ gl_FragCoord origin is upper left
|
|||
0:73 1.000000
|
||||
0:74 move second child to first child (temp float)
|
||||
0:74 Depth: direct index for structure (temp float FragDepth)
|
||||
0:74 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:74 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:74 Constant:
|
||||
0:74 1 (const int)
|
||||
0:74 Constant:
|
||||
0:74 1.000000
|
||||
0:76 Sequence
|
||||
0:76 move second child to first child (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
|
|
@ -295,7 +295,7 @@ Linked fragment stage:
|
|||
Shader version: 450
|
||||
gl_FragCoord origin is upper left
|
||||
0:? Sequence
|
||||
0:78 Function Definition: main( (global structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:78 Function Definition: main( (global structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:34 Function Parameters:
|
||||
0:? Sequence
|
||||
0:39 Sequence
|
||||
|
|
@ -539,8 +539,8 @@ gl_FragCoord origin is upper left
|
|||
0:71 Constant:
|
||||
0:71 3 (const int)
|
||||
0:73 move second child to first child (temp 4-component vector of float)
|
||||
0:73 Color: direct index for structure (layout(location=0 ) temp 4-component vector of float)
|
||||
0:73 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:73 Color: direct index for structure (temp 4-component vector of float)
|
||||
0:73 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:73 Constant:
|
||||
0:73 0 (const int)
|
||||
0:73 Constant:
|
||||
|
|
@ -550,15 +550,15 @@ gl_FragCoord origin is upper left
|
|||
0:73 1.000000
|
||||
0:74 move second child to first child (temp float)
|
||||
0:74 Depth: direct index for structure (temp float FragDepth)
|
||||
0:74 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:74 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:74 Constant:
|
||||
0:74 1 (const int)
|
||||
0:74 Constant:
|
||||
0:74 1.000000
|
||||
0:76 Sequence
|
||||
0:76 move second child to first child (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 'psout' (temp structure{layout(location=0 ) temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 move second child to first child (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:? '@entryPointOutput' (out structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 'psout' (temp structure{temp 4-component vector of float Color, temp float FragDepth Depth})
|
||||
0:76 Branch: Return
|
||||
0:? Linker Objects
|
||||
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
|
|
@ -648,7 +648,6 @@ gl_FragCoord origin is upper left
|
|||
Decorate 112(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 125(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 135(g_tTexcdu4) DescriptorSet 0
|
||||
MemberDecorate 196(PS_OUTPUT) 0 Location 0
|
||||
MemberDecorate 196(PS_OUTPUT) 1 BuiltIn FragDepth
|
||||
Decorate 208(g_sSamp2d) DescriptorSet 0
|
||||
Decorate 211(g_tTex1df4a) DescriptorSet 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue