mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12: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)
|
void D3D12FragmentDecompiler::insertHeader(std::stringstream & OS)
|
||||||
{
|
{
|
||||||
OS << "#define floatBitsToUint as_uint\n";
|
OS << "#define floatBitsToUint asuint\n";
|
||||||
OS << "#define uintBitsToFloat as_float\n\n";
|
OS << "#define uintBitsToFloat asfloat\n\n";
|
||||||
|
|
||||||
OS << "cbuffer SCALE_OFFSET : register(b0)\n";
|
OS << "cbuffer SCALE_OFFSET : register(b0)\n";
|
||||||
OS << "{\n";
|
OS << "{\n";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue