Skip to content

nvk: Add support for texturing from linear images

Mohamed Ahmed requested to merge mohamexiety/mesa:nvk-linear-image-support into main

What does this MR do and why?

This MR adds support for texturing from linear images to NVK, and enables the relevant feature flags. In addition to that, it fixes a bug in vkGetImageSubResourceLayout that would only occur when linear images were involved.

Tested with dEQP-VK.ycbcr.copy.*:

Test run totals:
  Passed:        13184/37632 (35.0%)
  Failed:        0/37632 (0.0%)
  Not supported: 24448/37632 (65.0%)
  Warnings:      0/37632 (0.0%)
  Waived:        0/37632 (0.0%)

and dEQP-VK.ycbcr.conversion.*:

Test run totals:
  Passed:        4048/11088 (36.5%)
  Failed:        0/11088 (0.0%)
  Not supported: 7040/11088 (63.5%)
  Warnings:      0/11088 (0.0%)
  Waived:        0/11088 (0.0%)

and func.miptree.* on crucible:

crucible: info   : ================================
crucible: info   : ran 492 tests
crucible: info   : pass 336
crucible: info   : fail 0
crucible: info   : skip 156
crucible: info   : lost 0
Edited by Mohamed Ahmed

Merge request reports