Skip to content
Snippets Groups Projects
Commit f6cc15dc authored by Dave Airlie's avatar Dave Airlie
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>
parent 0347a83b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment