[Freedreno] [PATCH] a3xx: add RGTC formats

Ilia Mirkin imirkin at alum.mit.edu
Tue Dec 2 22:25:07 PST 2014


Bleh, sorry, messed up spacing. Fixed in
https://github.com/imirkin/envytools-freedreno/commit/f1dbd3d7dbc38cd44b73ede78d2a28debe9e7649.patch

BTW, note that I'm not 100% sure that these are right... all these
compression formats are basically the same as each other with minor
differences.

On Wed, Dec 3, 2014 at 1:21 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Found through brute force. There were a few other id's that matched
> RGTC1_UNORM, but this one made the most sense due to its numerical
> proximity.
> ---
>  rnndb/adreno/a3xx.xml | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/rnndb/adreno/a3xx.xml b/rnndb/adreno/a3xx.xml
> index 9328b9c..e27daf0 100644
> --- a/rnndb/adreno/a3xx.xml
> +++ b/rnndb/adreno/a3xx.xml
> @@ -180,6 +180,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
>         <value name="TFMT_32_SINT" value="0x5c"/>
>         <value name="TFMT_32_32_SINT" value="0x5d"/>
>         <value name="TFMT_32_32_32_32_SINT" value="0x5f"/>
> +
> +        <!-- These pass some but not all tests -->
> +        <value name="TFMT_RGTC2_SNORM" value="0x70"/>
> +        <value name="TFMT_RGTC2_UNORM" value="0x71"/>
> +        <value name="TFMT_RGTC1_SNORM" value="0x72"/>
> +        <value name="TFMT_RGTC1_UNORM" value="0x73"/>
>  </enum>
>
>  <enum name="a3xx_tex_fetchsize">
> --
> 2.0.4
>


More information about the Freedreno mailing list