diff options
author | Eric Anholt <[email protected]> | 2018-06-27 16:00:16 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-06-29 13:36:28 -0700 |
commit | c0476d964abbbbdf6766ab4257568c2610c0c921 (patch) | |
tree | abca1a696812f1075ffbdf976f252951f53a431b /src/broadcom/cle | |
parent | 24d2f1347da62c12af9db81735977d0922dc75d0 (diff) |
v3d: Express dithering mode in the same way that the CLIF parser does.
Diffstat (limited to 'src/broadcom/cle')
-rw-r--r-- | src/broadcom/cle/v3d_packet_v33.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml index 0c103f621fe..0d26b362957 100644 --- a/src/broadcom/cle/v3d_packet_v33.xml +++ b/src/broadcom/cle/v3d_packet_v33.xml @@ -234,6 +234,12 @@ <value name="depth24_stencil8" value="3"/> <!-- stencil low, depth high --> </enum> + <enum name="Dither Mode" prefix="V3D_DITHER_MODE"> + <value name="None" value="0"/> + <value name="RGB" value="1"/> + <value name="A" value="2"/> + <value name="RGBA" value="3"/> + </enum> <packet code="0" name="Halt"/> <packet code="1" name="NOP"/> <packet code="4" name="Flush"/> @@ -353,8 +359,7 @@ <field name="Decimate mode" size="2" start="10" type="Decimate Mode"/> - <field name="A dithered" size="1" start="9" type="bool"/> - <field name="BGR dithered" size="1" start="8" type="bool"/> + <field name="Dither Mode" size="2" start="9" type="Dither Mode"/> <field name="Flip Y" size="1" start="7" type="bool"/> @@ -840,8 +845,7 @@ <field name="Memory Format" size="3" start="24" type="Memory Format"/> - <field name="A dithered" size="1" start="23" type="bool"/> - <field name="BGR dithered" size="1" start="22" type="bool"/> + <field name="Dither Mode" size="2" start="22" type="Dither Mode"/> <field name="Output image format" size="6" start="16" type="Output Image Format"/> |