[Mesa-dev] [PATCH 05/32] genxml/gen6: Make "Depth Clear Value" a uint

Jason Ekstrand jason at jlekstrand.net
Thu Aug 11 21:15:02 UTC 2016


The actual data storred is in float, UNORM24, or UNORM16 depending on the
actual depth format.
---
 src/intel/genxml/gen6.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index ae317a13..06b441b 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -797,7 +797,7 @@
     <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="16"/>
     <field name="Depth Clear Value Valid" start="15" end="15" type="bool"/>
     <field name="DWord Length" start="0" end="7" type="uint" default="0"/>
-    <field name="Depth Clear Value" start="32" end="63" type="float"/>
+    <field name="Depth Clear Value" start="32" end="63" type="uint"/>
   </instruction>
 
   <instruction name="3DSTATE_CLIP" bias="2" length="4">
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list