Skip to content

freedreno/turnip: RESINFO for shader image sizes

Emma Anholt requested to merge anholt/mesa:freedreno-imagesize into master
freedreno: Use RESINFO for image size queries.

The closed GL driver uses resinfo on images with the writeonly flag (using
the texture-path's getsize only for readonly images).  The closed vulkan
driver seems to use resinfo regardless.

Fixes dEQP-VK.image.image_size.* other than texel buffer (since we haven't
implemented their descriptors yet).

Merge request reports