summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2022-04-15 11:12:49 +1200
committerGitHub <noreply@github.com>2022-04-15 11:12:49 +1200
commitc5c4169bc80381d22ca7d8ca3634370ea9b46a31 (patch)
treeeee09fbf0672e8f13b0443d4cf7448c8ba113905 /Source/Core/VideoCommon
parent36678dca59475ae714b637c16ccc5f2d82531641 (diff)
parent59f299d5d6cabddacf8e7d80f6f53987e4767c22 (diff)
Merge pull request #10255 from Pokechu22/sw-zfreeze
Software: Fix zfreeze with CullMode::All
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.h4
-rw-r--r--Source/Core/VideoCommon/VideoConfig.cpp2
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h2
3 files changed, 2 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.h b/Source/Core/VideoCommon/VertexManagerBase.h
index b3dd49aa61..c413889713 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.h
+++ b/Source/Core/VideoCommon/VertexManagerBase.h
@@ -99,8 +99,8 @@ public:
PrimitiveType GetCurrentPrimitiveType() const { return m_current_primitive_type; }
void AddIndices(OpcodeDecoder::Primitive primitive, u32 num_vertices);
- DataReader PrepareForAdditionalData(OpcodeDecoder::Primitive primitive, u32 count, u32 stride,
- bool cullall);
+ virtual DataReader PrepareForAdditionalData(OpcodeDecoder::Primitive primitive, u32 count,
+ u32 stride, bool cullall);
void FlushData(u32 count, u32 stride);
void Flush();
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp
index 4221422abf..cd35be1ae7 100644
--- a/Source/Core/VideoCommon/VideoConfig.cpp
+++ b/Source/Core/VideoCommon/VideoConfig.cpp
@@ -98,8 +98,6 @@ void VideoConfig::Refresh()
iShaderCompilerThreads = Config::Get(Config::GFX_SHADER_COMPILER_THREADS);
iShaderPrecompilerThreads = Config::Get(Config::GFX_SHADER_PRECOMPILER_THREADS);
- bZComploc = Config::Get(Config::GFX_SW_ZCOMPLOC);
- bZFreeze = Config::Get(Config::GFX_SW_ZFREEZE);
bDumpObjects = Config::Get(Config::GFX_SW_DUMP_OBJECTS);
bDumpTevStages = Config::Get(Config::GFX_SW_DUMP_TEV_STAGES);
bDumpTevTextureFetches = Config::Get(Config::GFX_SW_DUMP_TEV_TEX_FETCHES);
diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h
index 6cf8122736..def1435b7f 100644
--- a/Source/Core/VideoCommon/VideoConfig.h
+++ b/Source/Core/VideoCommon/VideoConfig.h
@@ -153,8 +153,6 @@ struct VideoConfig final
// VideoSW Debugging
int drawStart = 0;
int drawEnd = 0;
- bool bZComploc = false;
- bool bZFreeze = false;
bool bDumpObjects = false;
bool bDumpTevStages = false;
bool bDumpTevTextureFetches = false;