Fix typo/spacing from userclip

This commit is contained in:
Jake 2017-04-25 11:07:23 -05:00 committed by Ivan
parent f064a26382
commit ac58953276
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ void D3D12FragmentDecompiler::insertHeader(std::stringstream & OS)
OS << "cbuffer SCALE_OFFSET : register(b0)" << std::endl;
OS << "{" << std::endl;
OS << " float4x4 scaleOffsetMat;" << std::endl;
OS << " int userClip[8];" << std::endl;
OS << " float4 userClip[2];" << std::endl;
OS << " float fog_param0;\n";
OS << " float fog_param1;\n";
OS << " int isAlphaTested;" << std::endl;

View File

@ -33,7 +33,7 @@ void VKVertexDecompilerThread::insertHeader(std::stringstream &OS)
OS << "layout(std140, set = 0, binding = 0) uniform ScaleOffsetBuffer" << std::endl;
OS << "{" << std::endl;
OS << " mat4 scaleOffsetMat;" << std::endl;
OS << " vec4 userClip[2];" << std::endl;
OS << " vec4 userClip[2];" << std::endl;
OS << "};" << std::endl;
vk::glsl::program_input in;