summaryrefslogtreecommitdiffstats
path: root/src/freedreno/registers/a2xx.xml
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-09-04 22:34:23 -0400
committerJonathan Marek <[email protected]>2019-09-06 02:24:29 +0000
commitfeea5986a90d92ef6eb919eca31c5b53457cb035 (patch)
treed1422af05571dd10917bd791e2405b8fae12cd91 /src/freedreno/registers/a2xx.xml
parent21dfa8e4864ad00e1d0b6ff671893c4229219a3a (diff)
freedreno/a2xx: formats update
For render formats, update fd2_pipe2color to only work with HW supported render formats, and remove the format whitelist is_format_supported. This patch enables float render formats (which work). For vertex/texture formats, use a generic function which translates using the bitsize of the channels. Since we fake support for some vertex formats, check for these in is_format_supported to avoid enabling them as sampler formats. Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/registers/a2xx.xml')
-rw-r--r--src/freedreno/registers/a2xx.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/freedreno/registers/a2xx.xml b/src/freedreno/registers/a2xx.xml
index 2c7388d9fcd..4817ab31bb3 100644
--- a/src/freedreno/registers/a2xx.xml
+++ b/src/freedreno/registers/a2xx.xml
@@ -1561,11 +1561,11 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value name="SQ_TEX_BORDER_COLOR_ACBCRY_BLACK" value="3"/>
</enum>
<enum name="sq_tex_sign">
- <value name="SQ_TEX_SIGN_UNISIGNED" value="0"/>
+ <value name="SQ_TEX_SIGN_UNSIGNED" value="0"/>
<value name="SQ_TEX_SIGN_SIGNED" value="1"/>
<!-- biased: 2*color-1 (range -1,1 when sampling) -->
- <value name="SQ_TEX_SIGN_UNISIGNED_BIASED" value="2"/>
- <!-- gamma: sRGB to linear? -->
+ <value name="SQ_TEX_SIGN_UNSIGNED_BIASED" value="2"/>
+ <!-- gamma: sRGB to linear - doesn't seem to work on adreno? -->
<value name="SQ_TEX_SIGN_GAMMA" value="3"/>
</enum>
<enum name="sq_tex_endian">