diff options
author | Eric Anholt <[email protected]> | 2018-07-30 11:41:15 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-07-30 14:29:01 -0700 |
commit | 89ac6fa4036da815b5cf4985f438cec73df67480 (patch) | |
tree | 28f33d348e354b1e42c1b7fb77e9ee2e140cc5e8 /src/broadcom/cle/v3d_packet_v33.xml | |
parent | e146e3a795ecd070679b8dfd1ad7f370e9ec5665 (diff) |
v3d: Add pack header support for f187 values.
V3D only has one of these (the top 16 bits of a float32) left in its CLs,
but VC4 had many more. This gets us proper pretty-printing of the values
instead of a large uint.
Diffstat (limited to 'src/broadcom/cle/v3d_packet_v33.xml')
-rw-r--r-- | src/broadcom/cle/v3d_packet_v33.xml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml index 1f6d467c92b..e4b7df002df 100644 --- a/src/broadcom/cle/v3d_packet_v33.xml +++ b/src/broadcom/cle/v3d_packet_v33.xml @@ -619,7 +619,7 @@ </packet> <packet code="91" name="Sample State" min_ver="41"> - <field name="Coverage" size="16" start="16" type="uint"/> <!-- float-1-8-7 --> + <field name="Coverage" size="16" start="16" type="f187"/> <field name="Mask" size="4" start="0" type="uint"/> </packet> @@ -672,16 +672,14 @@ </packet> <packet name="Depth Offset" code="106" max_ver="33"> - <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) --> - <field name="Depth Offset Units" size="16" start="16" type="uint"/> - <field name="Depth Offset Factor" size="16" start="0" type="uint"/> + <field name="Depth Offset Units" size="16" start="16" type="f187"/> + <field name="Depth Offset Factor" size="16" start="0" type="f187"/> </packet> <packet name="Depth Offset" code="106" min_ver="41"> <field name="Limit" size="32" start="32" type="float"/> - <!-- these fields are both float-1-8-7 encoded (top 16 bits of a float32) --> - <field name="Depth Offset Units" size="16" start="16" type="uint"/> - <field name="Depth Offset Factor" size="16" start="0" type="uint"/> + <field name="Depth Offset Units" size="16" start="16" type="f187"/> + <field name="Depth Offset Factor" size="16" start="0" type="f187"/> </packet> <packet name="Clip Window" code="107"> |