Module: Mesa Branch: master Commit: 48cabc1e751bf537f4fdb2721d7a7492c8e401a1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=48cabc1e751bf537f4fdb2721d7a7492c8e401a1
Author: Eric Anholt <e...@anholt.net> Date: Wed Dec 27 16:43:10 2017 -0800 broadcom/vc5: Turn the decimate mode field into an enum in the XML. --- src/broadcom/cle/v3d_packet_v33.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml index e3c35de68b..6049d7359b 100644 --- a/src/broadcom/cle/v3d_packet_v33.xml +++ b/src/broadcom/cle/v3d_packet_v33.xml @@ -107,6 +107,13 @@ <value name="UIF (XOR)" value="5"/> </enum> + <enum name="Decimate Mode" prefix="V3D_DECIMATE_MODE"> + <value name="sample 0" value="0"/> + <value name="4x" value="1"/> + <value name="16x" value="2"/> + <value name="all samples" value="3"/> + </enum> + <enum name="Output Image Format" prefix="V3D_OUTPUT_IMAGE_FORMAT"> <!-- Formats appear with their channels named from the low bits to @@ -551,7 +558,7 @@ <field name="Output image format" size="6" start="16" type="Output Image Format"/> - <field name="Decimate mode" size="2" start="14" type="uint"/> + <field name="Decimate mode" size="2" start="14" type="Decimate Mode"/> <field name="Internal Type" size="4" start="10" type="uint" prefix="Internal Type"> <value name="8i" value="0"/> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit