| 1 |
Compressed texture support |
| 2 |
========================== |
| 3 |
|
| 4 |
In the driver, Panfrost supports ASTC, ETC, and all BCn formats (e.g. RGTC, |
| 5 |
S3TC, etc.) However, Panfrost depends on the hardware to support these formats |
| 6 |
efficiently. All supported Mali architectures support these formats, but not |
| 7 |
every system-on-chip with a Mali GPU support all these formats. Many lower-end |
| 8 |
systems lack support for some BCn formats, which can cause problems when playing |
| 9 |
desktop games with Panfrost. To check whether this issue applies to your |
| 10 |
system-on-chip, Panfrost includes a ``panfrost_texfeatures`` tool to query |
| 11 |
supported formats. |
| 12 |
|
| 13 |
To use this tool, include the option ``-Dtools=panfrost`` when configuring Mesa. |
| 14 |
Then inside your Mesa build directory, the tool is located at |
| 15 |
``src/panfrost/tools/panfrost_texfeatures``. Copy it to your target device, |
| 16 |
set as executable as necessary, and run on the target device. A table of |
| 17 |
supported formats will be printed to standard output. |