summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-11 18:58:05 -0700
committerJason Ekstrand <[email protected]>2017-05-26 07:58:01 -0700
commit7769e448aaa33650c2388d74508d6fdce5f72909 (patch)
treeffe89ab569d1f8650aa0d77859ac48a750c5f12c /src/intel/genxml
parent8257fe7b184901fb4df96a7026f3f56a25c97f07 (diff)
intel/genxml: Make a bunch of things offsets on gen4-5
Most things on gen4-5 are addresses because we don't have dynamic state base address and we don't have instruction state base on gen4. However, whoever converted things to addresses got a little over-excited and converted too much. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/genxml')
-rw-r--r--src/intel/genxml/gen4.xml10
-rw-r--r--src/intel/genxml/gen45.xml10
-rw-r--r--src/intel/genxml/gen5.xml10
3 files changed, 15 insertions, 15 deletions
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
index 4748e0b0d7a..27dd8ffffc2 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -838,11 +838,11 @@
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Pointer to VS Binding Table" start="37" end="63" type="address"/>
- <field name="Pointer to GS Binding Table" start="69" end="95" type="address"/>
- <field name="Pointer to CLIP Binding Table" start="101" end="127" type="address"/>
- <field name="Pointer to SF Binding Table" start="133" end="159" type="address"/>
- <field name="Pointer to PS Binding Table" start="165" end="191" type="address"/>
+ <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
+ <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
+ <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
+ <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
+ <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5">
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
index 04251e0ada0..e63f3bdaf3f 100644
--- a/src/intel/genxml/gen45.xml
+++ b/src/intel/genxml/gen45.xml
@@ -803,11 +803,11 @@
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Pointer to VS Binding Table" start="37" end="63" type="address"/>
- <field name="Pointer to GS Binding Table" start="69" end="95" type="address"/>
- <field name="Pointer to CLIP Binding Table" start="101" end="127" type="address"/>
- <field name="Pointer to SF Binding Table" start="133" end="159" type="address"/>
- <field name="Pointer to PS Binding Table" start="165" end="191" type="address"/>
+ <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
+ <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
+ <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
+ <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
+ <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
</instruction>
<instruction name="3DSTATE_CONSTANT_COLOR" bias="2" length="5">
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index c601abeea5f..87377df106b 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -968,11 +968,11 @@
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="1"/>
<field name="DWord Length" start="0" end="7" type="uint" default="4"/>
- <field name="Pointer to VS Binding Table" start="37" end="63" type="address"/>
- <field name="Pointer to GS Binding Table" start="69" end="95" type="address"/>
- <field name="Pointer to CLIP Binding Table" start="101" end="127" type="address"/>
- <field name="Pointer to SF Binding Table" start="133" end="159" type="address"/>
- <field name="Pointer to PS Binding Table" start="165" end="191" type="address"/>
+ <field name="Pointer to VS Binding Table" start="37" end="63" type="offset"/>
+ <field name="Pointer to GS Binding Table" start="69" end="95" type="offset"/>
+ <field name="Pointer to CLIP Binding Table" start="101" end="127" type="offset"/>
+ <field name="Pointer to SF Binding Table" start="133" end="159" type="offset"/>
+ <field name="Pointer to PS Binding Table" start="165" end="191" type="offset"/>
</instruction>
<instruction name="3DSTATE_CLEAR_PARAMS" bias="2" length="2">