diff options
author | Jason Ekstrand <[email protected]> | 2016-06-08 18:59:29 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-15 15:53:48 -0700 |
commit | ba798ac6b1f996f16d8f2bc65614d18d76a0b1f6 (patch) | |
tree | e1f2bcc80cb29511a6791f4551e12ad4dad3b2bd /src/intel/genxml/gen6.xml | |
parent | 9a999ceab8ce092543d6e1dfb965098418573ba7 (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/gen6.xml')
-rw-r--r-- | src/intel/genxml/gen6.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml index dd682dda660..c465288e891 100644 --- a/src/intel/genxml/gen6.xml +++ b/src/intel/genxml/gen6.xml @@ -361,12 +361,12 @@ <value name="MULTISAMPLECOUNT_4" value="2"/> </field> <field name="Multisample Position Palette Index" start="128" end="130" type="uint"/> - <field name="X Offset" start="185" end="191" type="offset"/> + <field name="X Offset" start="185" end="191" type="uint"/> <field name="Surface Vertical Alignment" start="184" end="184" type="uint"> <value name="VALIGN_2" value="0"/> <value name="VALIGN_4" value="1"/> </field> - <field name="Y Offset" start="180" end="183" type="offset"/> + <field name="Y Offset" start="180" end="183" type="uint"/> <field name="Surface Object Control State" start="176" end="179" type="MEMORY_OBJECT_CONTROL_STATE"/> <field name="MOCS" start="176" end="179" type="uint"/> </struct> |