Skip to content

turnip: Fix subpassLoad from CUBE input attachments

Cube descriptors require a different sampling instruction in shader, however we don't know whether image is a cube or not until the start of a renderpass. We have to patch the descriptor to make it compatible with how it is sampled in shader.

For the reference subpassLoad is currently translated into isaml.a

Blob v615 also doesn't handle this case correctly.

Found by WIP CTS tests for other feature.

Merge request reports