diff --git a/src/video_core/amdgpu/liverpool.h b/src/video_core/amdgpu/liverpool.h index dd1d23b69..411b25ed1 100644 --- a/src/video_core/amdgpu/liverpool.h +++ b/src/video_core/amdgpu/liverpool.h @@ -305,20 +305,6 @@ struct Liverpool { BitField<20, 3, CompareFunc> stencil_bf_func; BitField<30, 1, u32> enable_color_writes_on_depth_fail; BitField<31, 1, u32> disable_color_writes_on_depth_pass; - - constexpr u32 DepthState() const { - static constexpr u32 DepthMask = - decltype(depth_enable)::mask | decltype(depth_write_enable)::mask | - decltype(depth_bounds_enable)::mask | decltype(depth_func)::mask; - return raw & DepthMask; - } - - constexpr u32 StencilState() const { - static constexpr u32 StencilMask = - decltype(stencil_enable)::mask | decltype(backface_enable)::mask | - decltype(stencil_ref_func)::mask | decltype(stencil_bf_func)::mask; - return raw & StencilMask; - } }; enum class StencilFunc : u32 { @@ -348,11 +334,6 @@ struct Liverpool { BitField<12, 4, StencilFunc> stencil_fail_back; BitField<16, 4, StencilFunc> stencil_zpass_back; BitField<20, 4, StencilFunc> stencil_zfail_back; - BitField<24, 8, u32> padding; - - static constexpr u32 Mask() { - return ~decltype(padding)::mask; - } }; union StencilRefMask { diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index cc65d52a6..8de654bd9 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -167,7 +167,6 @@ const GraphicsPipeline* PipelineCache::GetGraphicsPipeline() { } const auto [it, is_new] = graphics_pipelines.try_emplace(graphics_key); if (is_new) { - LOG_INFO(Render_Vulkan, "New pipeline"); it.value() = std::make_unique( instance, scheduler, desc_heap, graphics_key, *pipeline_cache, infos, modules); }