panfrost: Add texture features enum to v9.xml
Required to query texture features on Valhall. It's technically the same as previous Malis (except for narrow ASTC), but conceptually it's different as plane descriptors have superseded indexed pixel formats for block compressed textures. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>
This commit is contained in:
parent
0db826a038
commit
5ee4852239
|
@ -95,6 +95,37 @@
|
|||
</enum>
|
||||
|
||||
<enum name="Format">
|
||||
<!--
|
||||
Used to index into the TEXTURE_FEATURES register, which indicates support
|
||||
for compressed texture formats. The enum is no longer used for pixel
|
||||
format descriptors, but the naming is kept consistent with previous Mali
|
||||
generations for backwards compatibility.
|
||||
-->
|
||||
<value name="ETC2 RGB8" value="1"/>
|
||||
<value name="ETC2 R11 UNORM" value="2"/>
|
||||
<value name="ETC2 RGBA8" value="3"/>
|
||||
<value name="ETC2 RG11 UNORM" value="4"/>
|
||||
<value name="BC1 UNORM" value="7"/>
|
||||
<value name="BC2 UNORM" value="8"/>
|
||||
<value name="BC3 UNORM" value="9"/>
|
||||
<value name="BC4 UNORM" value="10"/>
|
||||
<value name="BC4 SNORM" value="11"/>
|
||||
<value name="BC5 UNORM" value="12"/>
|
||||
<value name="BC5 SNORM" value="13"/>
|
||||
<value name="BC6H UF16" value="14"/>
|
||||
<value name="BC6H SF16" value="15"/>
|
||||
<value name="BC7 UNORM" value="16"/>
|
||||
<value name="ETC2 R11 SNORM" value="17"/>
|
||||
<value name="ETC2 RG11 SNORM" value="18"/>
|
||||
<value name="ETC2 RGB8A1" value="19"/>
|
||||
<value name="ASTC 3D LDR" value="20"/>
|
||||
<value name="ASTC 3D HDR" value="21"/>
|
||||
<value name="ASTC 2D LDR" value="22"/>
|
||||
<value name="ASTC 2D HDR" value="23"/>
|
||||
<value name="ASTC 2D NARROW" value="62"/>
|
||||
<value name="ASTC 3D NARROW" value="63"/>
|
||||
|
||||
<!-- Actual enum values follow -->
|
||||
<value name="YUV8" value="32"/>
|
||||
<value name="YUVA8" value="33"/>
|
||||
<value name="YUYV8" value="34"/>
|
||||
|
|
Loading…
Reference in New Issue