aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/dma_pusher.cpp
diff options
context:
space:
mode:
authorkraibse <33869366+kraibse@users.noreply.github.com>2026-11-01 03:20:42 +0100
committerkraibse <33869366+kraibse@users.noreply.github.com>2026-11-02 00:11:25 +0100
commit803ece5f90bbdc5ef9751f559cbe8b2ecbdb2aac (patch)
tree80a1c821dad9d5bdb564d587f4d8c217c5a1e0e3 /src/video_core/dma_pusher.cpp
parent8eaea9d3769fecff3dd7202884f66423ed2c83b1 (diff)
vulkan: don't divide by a zero sparse block size (AMD)
Image::InitSparseLayers divided by the imageGranularity the driver returns, which AMD's driver reports as 0 and crashed. Use Vulkan's standard 2D block shape when the device reports residencyStandard2DBlockShape, otherwise don't use sparse layers. Ported from Wael3rd/Eglantine-MKW (7a77946af3). Assisted-by: Claude Sonnet 5.5 (porting the fix) (cherry picked from commit eadb9fc0f06f32ff1684fe202519c0505669095d)
Diffstat (limited to 'src/video_core/dma_pusher.cpp')
0 files changed, 0 insertions, 0 deletions