Skip to content

Add support for tiled textures

This is initial support for tiled textures - tiling/untiling routines aren't optimized yet.

lima-18.1 branch can't compile fragment shader of "kmscube -M rgba" due to ppir regalloc failure, I'm using this patch as a workaround for testing: https://github.com/anarsoul/mesa-lima/commit/14e0665

Tested with kmscube -M rgba from my repo (it uses 500x500 texture) and gbm-surface-fbo from your gfx repo with 260x260 fbo.

Note that colors are incorrect in kmscube -M rgba (looks like multiply is saturated) - I believe it's caused by recent work in ppir compiler.

I made all modifications you requested for PR on github.

Merge request reports

Loading