Skip to content

mesa: Enable compute-based transcoding to DXT5

Nanley Chery requested to merge nchery/mesa:perf/compute-dxt5-encode into main

By enabling this path, we get a 56% decrease in upload time on a texture upload microbenchmark. This was measured on an Ice Lake with an iris driver that tries to use the compressed format fallback path.

Based on the BC3 encoder from the MIT-licensed GPU compressor, Betsy: https://github.com/darksylinc/betsy.

/cc @tpalli @kwg @jljusten

Edited by Nanley Chery

Merge request reports