Skip to content

llvmpipe: handle different blocksizes for sampler/image views

Dave Airlie requested to merge airlied/mesa:lvp-fix-compressed-views into main

In the cases where the sampler/image view format has a different blocksize to the underlying resource, the width /height need to be scaled.

Previous code to do this, did the rescaling before minification, apparently scaling needs to happen after minification, this means it has to happen in the llvm side.

This fixes a bunch of new VK CTS tests dEQP-VK.image.texel_view_compatible.*

Edited by Dave Airlie

Merge request reports