1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

d3d12: Fix fragment shader compile

This commit is contained in:
kd-11 2017-12-02 15:19:26 +03:00
parent 960f26f84e
commit f5145943b2

View File

@ -35,8 +35,8 @@ std::string D3D12FragmentDecompiler::compareFunction(COMPARE f, const std::strin
void D3D12FragmentDecompiler::insertHeader(std::stringstream & OS)
{
OS << "#define floatBitsToUint as_uint\n";
OS << "#define uintBitsToFloat as_float\n\n";
OS << "#define floatBitsToUint asuint\n";
OS << "#define uintBitsToFloat asfloat\n\n";
OS << "cbuffer SCALE_OFFSET : register(b0)\n";
OS << "{\n";