Skip to content

lima: support rectangle texture

Icenowy Zheng requested to merge icenowy/mesa:lima-texture-rect into master

As Vasily discovered, the bit 7 of the word 1 of the texture descriptor is set when reloading the framebuffer, to use framebuffer-based offset rather than normalized one. This bit also works for regular textures to enable accessing with non-normalized offset.

Add support for rectangle texture by setting this bit for PIPE_TEXTURE_RECT.

Suggested-by: Vasily Khoruzhick anarsoul@gmail.com Signed-off-by: Icenowy Zheng icenowy@aosc.io

Merge request reports