diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-04-21 12:41:33 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2020-04-21 12:48:58 +0300 |
commit | a396744f8998f0dbf4a51d0a3f18cec0726fd1fd (patch) | |
tree | 1bcf95975b6224134c0c49cffa0d4f442bd0b6a5 /reference/shaders-hlsl | |
parent | 55dfbead2f6c03497984a35485d10524378f0484 (diff) |
Ensure unpack/pack2x32 tests are compatible with test suite.
Diffstat (limited to 'reference/shaders-hlsl')
-rw-r--r-- | reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.fxconly.nofxc.sm60.asm.frag (renamed from reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.asm.frag) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.asm.frag b/reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.fxconly.nofxc.sm60.asm.frag index b841c492..3ed012ca 100644 --- a/reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.asm.frag +++ b/reference/shaders-hlsl/asm/frag/pack-and-unpack-uint2.fxconly.nofxc.sm60.asm.frag @@ -2,7 +2,7 @@ static float4 FragColor; struct SPIRV_Cross_Output { - float4 FragColor : COLOR0; + float4 FragColor : SV_Target0; }; uint64_t SPIRV_Cross_packUint2x32(uint2 value) @@ -29,6 +29,6 @@ SPIRV_Cross_Output main() { frag_main(); SPIRV_Cross_Output stage_output; - stage_output.FragColor = float4(FragColor); + stage_output.FragColor = FragColor; return stage_output; } |