Skip to content

radv: add astc compute decoder support

Yogesh Mohan Marmithu requested to merge yogeshmohan/mesa:radv_emulate-astc into main

This MR adds support in radv to decode astc texture in radv_CmdCopyBufferToImage2() and radv_CmdCopyImage2() functions.

The astc compute decode and lut creation code is copied from https://github.com/Themaister/Granite/

Always set DECODE_8BIT idea is copied from !19886 (merged)

The base code radv_meta_astc_decode.c is from radv_meta_etc_decode.c

code is formatted using git clang-format

The testing done is by using a small test application I have written with few astc block formats. The luts are created in local device memory as part of init(). If on_demand is set then all the 14 pipeline is created in init(). This takes lot of seconds.

Merge request reports

Loading