summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-12-04 13:36:48 -0800
committerEric Anholt <[email protected]>2018-12-07 16:48:23 -0800
commitd1965344ac26e250f696ff15f6dff8aacbd1d6db (patch)
treee7f89f4fc6aef7ef50d79c2788032a332422f44c /src
parente94d034a38b9993d0ea898dec550cf52541da8f1 (diff)
v3d: Re-use the wrap mode uniform on V3D 3.3.
Diffstat (limited to 'src')
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml28
1 files changed, 4 insertions, 24 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index f471d542c56..a5fb4eaae52 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -99,7 +99,7 @@
<value name="Follows" value="7"/>
</enum>
- <enum name="Wrap Mode" prefix="V3D_WRAP_MODE" min_ver="41">
+ <enum name="Wrap Mode" prefix="V3D_WRAP_MODE">
<value name="Wrap mode REPEAT" value="0"/>
<value name="Wrap mode CLAMP" value="1"/>
<value name="Wrap mode MIRROR" value="2"/>
@@ -1230,29 +1230,9 @@
<field name="Texel offset for t coordinate" size="4" start="23" type="int"/>
<field name="Texel offset for s coordinate" size="4" start="19" type="int"/>
- <field name="R Wrap Mode" size="3" start="16" type="uint">
- <value name="Wrap mode REPEAT" value="0"/>
- <value name="Wrap mode CLAMP" value="1"/>
- <value name="Wrap mode MIRROR" value="2"/>
- <value name="Wrap mode BORDER" value="3"/>
- <value name="Wrap mode MIRROR_ONCE" value="4"/>
- </field>
-
- <field name="T Wrap Mode" size="3" start="13" type="uint">
- <value name="Wrap mode REPEAT" value="0"/>
- <value name="Wrap mode CLAMP" value="1"/>
- <value name="Wrap mode MIRROR" value="2"/>
- <value name="Wrap mode BORDER" value="3"/>
- <value name="Wrap mode MIRROR_ONCE" value="4"/>
- </field>
-
- <field name="S Wrap Mode" size="3" start="10" type="uint">
- <value name="Wrap mode REPEAT" value="0"/>
- <value name="Wrap mode CLAMP" value="1"/>
- <value name="Wrap mode MIRROR" value="2"/>
- <value name="Wrap mode BORDER" value="3"/>
- <value name="Wrap mode MIRROR_ONCE" value="4"/>
- </field>
+ <field name="R Wrap Mode" size="3" start="16" type="Wrap Mode"/>
+ <field name="T Wrap Mode" size="3" start="13" type="Wrap Mode"/>
+ <field name="S Wrap Mode" size="3" start="10" type="Wrap Mode"/>
<field name="New configuration mode" size="1" start="9" type="bool" default="1"/>