Skip to content

panfrost: Add DirectX compression formats (DXT, RGTC, BPTC)

Alyssa Rosenzweig requested to merge alyssa/mesa:compression into master

These are available in Mali IP generally but may not be exposed on every implementation. Nevertheless it's enabled on RK3399 at least, so let's wire it in and get us closer to advertising GL3. Requires a sufficiently new kernel to query feature registers, added in 5.3 or 5.4 IIRC

Cc @icecream95 -- this should work on RK3288 and indeed any SoC advertising DirectX (10+) support, but I haven't actually tested. (Actually this whole patch set is untested, I don't have any workloads using these formats and I can't tell where in the CTS these are exercised directly. But it's probably fine.)

Merge request reports