[PR #172] [MERGED] video_core: Add depth buffer support and fix some bugs #1360

Closed
opened 2026-02-27 21:12:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/172
Author: @raphaelthegreat
Created: 6/7/2024
Status: Merged
Merged: 6/7/2024
Merged by: @raphaelthegreat

Base: mainHead: stabilization_moar


📝 Commits (5)

  • 7bf0aec memory: Avoid crash when alignment is zero
  • 6428b04 shader_recompiler: Add more instructions
  • 12f1743 control_flow: Don't emit discard for null exports
  • 17cb4e0 renderer_vulkan: Add depth buffer support
  • f67628f liverpool: Fix wrong color buffer number type and viewport zscale

📊 Changes

26 files changed (+295 additions, -172 deletions)

View changed files

📝 CMakeLists.txt (+0 -2)
src/core/libraries/kernel/physical_memory.cpp (+0 -66)
src/core/libraries/kernel/physical_memory.h (+0 -38)
📝 src/core/memory.cpp (+1 -1)
📝 src/shader_recompiler/backend/spirv/emit_spirv_image.cpp (+16 -7)
📝 src/shader_recompiler/backend/spirv/emit_spirv_instructions.h (+4 -4)
📝 src/shader_recompiler/frontend/control_flow_graph.cpp (+2 -1)
📝 src/shader_recompiler/frontend/translate/scalar_memory.cpp (+10 -2)
📝 src/shader_recompiler/frontend/translate/translate.cpp (+19 -1)
📝 src/shader_recompiler/frontend/translate/translate.h (+2 -0)
📝 src/shader_recompiler/frontend/translate/vector_alu.cpp (+12 -2)
📝 src/shader_recompiler/ir/passes/resource_tracking_pass.cpp (+9 -0)
📝 src/video_core/amdgpu/liverpool.h (+27 -9)
📝 src/video_core/amdgpu/resource.h (+11 -1)
📝 src/video_core/renderer_vulkan/liverpool_to_vk.cpp (+27 -1)
📝 src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp (+16 -4)
📝 src/video_core/renderer_vulkan/vk_graphics_pipeline.h (+7 -2)
📝 src/video_core/renderer_vulkan/vk_instance.cpp (+5 -0)
📝 src/video_core/renderer_vulkan/vk_pipeline_cache.cpp (+19 -0)
📝 src/video_core/renderer_vulkan/vk_rasterizer.cpp (+20 -2)

...and 6 more files

📄 Description

See each commit for more details


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/172 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 6/7/2024 **Status:** ✅ Merged **Merged:** 6/7/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `stabilization_moar` --- ### 📝 Commits (5) - [`7bf0aec`](https://github.com/shadps4-emu/shadPS4/commit/7bf0aec7b0b296338a9790698b69fa4d6aac187d) memory: Avoid crash when alignment is zero - [`6428b04`](https://github.com/shadps4-emu/shadPS4/commit/6428b04f0645436a79e2deaabd88334c345b108d) shader_recompiler: Add more instructions - [`12f1743`](https://github.com/shadps4-emu/shadPS4/commit/12f1743d5f3ff5250568703562e7992e916b381d) control_flow: Don't emit discard for null exports - [`17cb4e0`](https://github.com/shadps4-emu/shadPS4/commit/17cb4e013256f269ec1f3766ad10c1e0fd209da7) renderer_vulkan: Add depth buffer support - [`f67628f`](https://github.com/shadps4-emu/shadPS4/commit/f67628f030daaeb75812d434b083d9fc108329ba) liverpool: Fix wrong color buffer number type and viewport zscale ### 📊 Changes **26 files changed** (+295 additions, -172 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+0 -2) ➖ `src/core/libraries/kernel/physical_memory.cpp` (+0 -66) ➖ `src/core/libraries/kernel/physical_memory.h` (+0 -38) 📝 `src/core/memory.cpp` (+1 -1) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_image.cpp` (+16 -7) 📝 `src/shader_recompiler/backend/spirv/emit_spirv_instructions.h` (+4 -4) 📝 `src/shader_recompiler/frontend/control_flow_graph.cpp` (+2 -1) 📝 `src/shader_recompiler/frontend/translate/scalar_memory.cpp` (+10 -2) 📝 `src/shader_recompiler/frontend/translate/translate.cpp` (+19 -1) 📝 `src/shader_recompiler/frontend/translate/translate.h` (+2 -0) 📝 `src/shader_recompiler/frontend/translate/vector_alu.cpp` (+12 -2) 📝 `src/shader_recompiler/ir/passes/resource_tracking_pass.cpp` (+9 -0) 📝 `src/video_core/amdgpu/liverpool.h` (+27 -9) 📝 `src/video_core/amdgpu/resource.h` (+11 -1) 📝 `src/video_core/renderer_vulkan/liverpool_to_vk.cpp` (+27 -1) 📝 `src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp` (+16 -4) 📝 `src/video_core/renderer_vulkan/vk_graphics_pipeline.h` (+7 -2) 📝 `src/video_core/renderer_vulkan/vk_instance.cpp` (+5 -0) 📝 `src/video_core/renderer_vulkan/vk_pipeline_cache.cpp` (+19 -0) 📝 `src/video_core/renderer_vulkan/vk_rasterizer.cpp` (+20 -2) _...and 6 more files_ </details> ### 📄 Description See each commit for more details --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:14 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1360
No description provided.