mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
d3d12: Fix fragment shader compile
This commit is contained in:
parent
960f26f84e
commit
f5145943b2
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue