mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #2083] [MERGED] shader_recompiler: Improvements to array and cube handling. #2479
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#2479
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/2083
Author: @squidbus
Created: 1/7/2025
Status: ✅ Merged
Merged: 1/10/2025
Merged by: @georgemoralis
Base:
main← Head:fix-array📝 Commits (6)
c05e48bshader_recompiler: Account for instruction array flag in image type.120e6eashader_recompiler: Check da flag for all mimg instructions.501b921shader_recompiler: Convert cube images into 2D arrays.40d3521shader_recompiler: Move image resource functions into sharp type.3a7b2bfshader_recompiler: Use native AMD cube instructions when possible.2df4f24specialization: Fix buffer storage mistake.📊 Changes
28 files changed (+217 additions, -144 deletions)
View changed files
📝
externals/sirit(+1 -1)📝
src/shader_recompiler/backend/spirv/emit_spirv_image.cpp(+19 -4)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+2 -0)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+4 -6)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.h(+1 -0)📝
src/shader_recompiler/frontend/translate/translate.h(+3 -0)📝
src/shader_recompiler/frontend/translate/vector_alu.cpp(+77 -4)📝
src/shader_recompiler/frontend/translate/vector_memory.cpp(+25 -12)📝
src/shader_recompiler/info.h(+0 -6)📝
src/shader_recompiler/ir/ir_emitter.cpp(+8 -5)📝
src/shader_recompiler/ir/ir_emitter.h(+3 -2)📝
src/shader_recompiler/ir/opcodes.inc(+4 -0)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+4 -42)📝
src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp(+1 -1)📝
src/shader_recompiler/profile.h(+1 -0)📝
src/shader_recompiler/specialization.h(+2 -2)📝
src/video_core/amdgpu/resource.h(+41 -15)📝
src/video_core/renderer_vulkan/vk_compute_pipeline.cpp(+2 -3)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+2 -3)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+1 -0)...and 8 more files
📄 Description
Enhances handling of array and cube images:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.