Skip to content

util: Fix translate from block compressed to rgba

Since 2b5178ee util: Switch the non-block formats to unpacking rgba rows instead of rects, compressed formats define unpack_rgba_8unorm_rect instead of unpack_rgba_8unorm.

Fixes the u_format_translate check to take this into account.

Closes: #5201 (closed)

Fixes: 2b5178ee ("util: Switch the non-block formats to unpacking rgba rows instead of rects")

The bug this patch fixes should be present in mesa 21.2. Alternatively the buggy commit could be reverted.

Edited by Axel Davy

Merge request reports