mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 08:46:03 +03:00
[PR #307] [MERGED] Surface management rework (1/3) #1470
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/307
Author: @psucien
Created: 7/19/2024
Status: ✅ Merged
Merged: 7/20/2024
Merged by: @raphaelthegreat
Base:
main← Head:amdgpu/surface_params📝 Commits (7)
9649d9famdgpu: proper CB and DB sizes calculation; minor refactoringe8302edtexture_cache: separate file for image_info1cea273texture_cache: image guest address moved into image info3b8efa6texture_cache: surface size calculation9c49844shader_recompiler: fixed sin/cosf3338e7initial preparations for subresources upload5a6d887review comments📊 Changes
21 files changed (+467 additions, -233 deletions)
View changed files
📝
CMakeLists.txt(+2 -0)📝
src/core/libraries/videoout/buffer.h(+0 -1)📝
src/core/libraries/videoout/driver.cpp(+0 -2)📝
src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp(+2 -2)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+7 -2)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.h(+2 -0)📝
src/video_core/amdgpu/liverpool.h(+36 -9)📝
src/video_core/amdgpu/resource.h(+24 -9)📝
src/video_core/renderer_vulkan/liverpool_to_vk.cpp(+1 -1)📝
src/video_core/renderer_vulkan/renderer_vulkan.cpp(+2 -1)📝
src/video_core/renderer_vulkan/renderer_vulkan.h(+2 -2)📝
src/video_core/renderer_vulkan/vk_compute_pipeline.cpp(+1 -1)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+1 -1)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+5 -4)📝
src/video_core/texture_cache/image.cpp(+2 -107)📝
src/video_core/texture_cache/image.h(+2 -43)➕
src/video_core/texture_cache/image_info.cpp(+268 -0)➕
src/video_core/texture_cache/image_info.h(+61 -0)📝
src/video_core/texture_cache/texture_cache.cpp(+35 -30)📝
src/video_core/texture_cache/texture_cache.h(+11 -10)...and 1 more files
📄 Description
This PR brings correct calculation of tiled subresources memory footprint, which allows use of this information for proper mips upload and simplified detiling pass.
Also addresses an issue with sin/cos found in a meanwhile.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.