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:
John Kessenich 2016-08-29 16:49:39 -06:00
parent 510d83b384
commit a05d8b5604
56 changed files with 712 additions and 764 deletions

View file

@ -78,7 +78,6 @@ Linked fragment stage:
Decorate 147(g_tTexcdf4) DescriptorSet 0
Decorate 156(g_tTexcdi4) DescriptorSet 0
Decorate 165(g_tTexcdu4) DescriptorSet 0
MemberDecorate 171(PS_OUTPUT) 0 Location 0
MemberDecorate 171(PS_OUTPUT) 1 BuiltIn FragDepth
Decorate 182(g_sSamp2d) DescriptorSet 0
Decorate 183(g_sSamp2D_b) DescriptorSet 0