Software: Fix zfreeze with CullMode::All
This commit is contained in:
1 parent
164e0f742d
commit
59f299d5d6
7 files changed
+78
-41
No files matched your search
@@ -32,6 +32,13 @@ SWVertexLoader::SWVertexLoader() = default;
|
||||
|
||||
SWVertexLoader::~SWVertexLoader() = default;
|
||||
|
||||
DataReader SWVertexLoader::PrepareForAdditionalData(OpcodeDecoder::Primitive primitive, u32 count,
|
||||
u32 stride, bool cullall)
|
||||
{
|
||||
// The software renderer needs cullall to be false for zfreeze to work
|
||||
return VertexManagerBase::PrepareForAdditionalData(primitive, count, stride, false);
|
||||
}
|
||||
|
||||
void SWVertexLoader::DrawCurrentBatch(u32 base_index, u32 num_indices, u32 base_vertex)
|
||||
{
|
||||
DebugUtil::OnObjectBegin();
|
||||
|
||||
Reference in new issue
Block a user