d3d12: Fix fragment shader compile
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user