d3d12: Implement discard

Should make alpha test kill test almost working as it should.
This commit is contained in:
vlj 2015-06-08 19:59:19 +02:00 committed by Vincent Lejeune
parent dc1a57e71c
commit 70b537c8c2
3 changed files with 8 additions and 1 deletions

View file

@ -26,6 +26,7 @@ void D3D12VertexProgramDecompiler::insertHeader(std::stringstream &OS)
OS << "cbuffer SCALE_OFFSET : register(b0)" << std::endl;
OS << "{" << std::endl;
OS << " float4x4 scaleOffsetMat;" << std::endl;
OS << " float alphaRef;" << std::endl;
OS << "};" << std::endl;
}