Skip to content
Commit 64ab6760 authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov
Browse files

radv/gfx9: fix block compression texture views. (v2)



This ports a fix from amdvlk, to fix the sizing for mip levels
when block compressed images are viewed using uncompressed views.

My original fix didn't power the clamping, but it looks like
the clamping is required to stop the sizing going too large.

Fixes:
dEQP-VK.image.texel_view_compatible.graphic.extended*bc*
Doesn't crash DOW3 anymore.

Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fixes: e38685cc 'Revert "radv: disable support for VEGA for now."'
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit f6cc15dc)
parent e27f0661
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment