Fixup depth mode init value to allow ignoring redundant calls

This commit is contained in:
Billy Laws
2022-03-20 17:56:48 +00:00
committed by PixelyIon
parent 7a5c771f44
commit 5c387f5c5a
2 changed files with 7 additions and 5 deletions

View File

@ -746,7 +746,9 @@ namespace skyline::gpu::interconnect {
ShaderSet shaders;
PipelineStages pipelineStages;
ShaderCompiler::RuntimeInfo runtimeInfo{};
ShaderCompiler::RuntimeInfo runtimeInfo{
.convert_depth_mode = true // This is required for the default GPU register state
};
constexpr static size_t PipelineUniqueDescriptorTypeCount{2}; //!< The amount of unique descriptor types that may be bound to a pipeline
constexpr static size_t MaxPipelineDescriptorWriteCount{maxwell3d::PipelineStageCount * PipelineUniqueDescriptorTypeCount}; //!< The maxium amount of descriptors writes that are used to bind a pipeline