summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen5.xml
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-08 18:59:29 -0700
committerJason Ekstrand <[email protected]>2016-07-15 15:53:48 -0700
commitba798ac6b1f996f16d8f2bc65614d18d76a0b1f6 (patch)
treee1f2bcc80cb29511a6791f4551e12ad4dad3b2bd /src/intel/genxml/gen5.xml
parent9a999ceab8ce092543d6e1dfb965098418573ba7 (diff)
genxml: Make X/Y Offset field of SURFACE_STATE a uint
THe offset type has special implications that it's intended to be some form of aligned memory address. These assumptions allow it to handle the case where there is some alignment requirement on the offset and the bottom bits are used for other things. However, the offsets in the surface state field are really just unsigned integers. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/genxml/gen5.xml')
-rw-r--r--src/intel/genxml/gen5.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index 37e1ac4f8dd..cb6a7b6bcb0 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -50,7 +50,7 @@
<field name="Surface Min LOD" start="156" end="159" type="uint"/>
<field name="Minimum Array Element" start="145" end="155" type="uint"/>
<field name="Render Target View Extent" start="136" end="144" type="uint"/>
- <field name="X Offset" start="185" end="191" type="offset"/>
- <field name="Y Offset" start="180" end="183" type="offset"/>
+ <field name="X Offset" start="185" end="191" type="uint"/>
+ <field name="Y Offset" start="180" end="183" type="uint"/>
</struct>
</genxml>