mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
d3d12: Fix fragment shader compile
This commit is contained in:
parent
960f26f84e
commit
f5145943b2
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue