mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2203] [MERGED] tile: Fix some tile thickness calculation errors. #2560
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#2560
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/2203
Author: @squidbus
Created: 1/22/2025
Status: ✅ Merged
Merged: 1/22/2025
Merged by: @psucien
Base:
main← Head:tile-fix-2📝 Commits (2)
bc344e4tile: Fix some tile thickness calculation errors.b1e3547tile: Do not pad mip height to tile height.📊 Changes
2 files changed (+8 additions, -9 deletions)
View changed files
📝
src/video_core/texture_cache/image_info.cpp(+6 -7)📝
src/video_core/texture_cache/tile.h(+2 -2)📄 Description
Fix some mistakes from updates to tile calculations related to volume thickness:
ImageSizeMicroTiledinUpdateSize.ImageSizeMicroTiledshould not return size multiplied with thickness, only use it for pitch alignment padding condition. Returned value will be multiplied with full texture depth after.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.