intel/genxml: Change 3DSTATE_CONSTANT_XS::MOCS to be MBZ on Gfx8.
The Broadwell PRM says: "Constant Buffer Object Control State must always be programmed to zero." This patch changes the MOCS field in gen8.xml to be "mbz" type, so that it's impossible to set it to a non-zero value. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
This commit is contained in:
committed by
Marge Bot
parent
956effb88a
commit
78d2605e57
@@ -1049,7 +1049,7 @@
|
||||
|
||||
<instruction name="3DSTATE_CONSTANT_DS" bias="2" length="11" engine="render">
|
||||
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
|
||||
<field name="MOCS" start="8" end="14" type="uint"/>
|
||||
<field name="MOCS" start="8" end="14" type="mbz"/>
|
||||
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="26"/>
|
||||
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
@@ -1059,7 +1059,7 @@
|
||||
|
||||
<instruction name="3DSTATE_CONSTANT_GS" bias="2" length="11" engine="render">
|
||||
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
|
||||
<field name="MOCS" start="8" end="14" type="uint"/>
|
||||
<field name="MOCS" start="8" end="14" type="mbz"/>
|
||||
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="22"/>
|
||||
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
@@ -1069,7 +1069,7 @@
|
||||
|
||||
<instruction name="3DSTATE_CONSTANT_HS" bias="2" length="11" engine="render">
|
||||
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
|
||||
<field name="MOCS" start="8" end="14" type="uint"/>
|
||||
<field name="MOCS" start="8" end="14" type="mbz"/>
|
||||
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="25"/>
|
||||
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
@@ -1079,7 +1079,7 @@
|
||||
|
||||
<instruction name="3DSTATE_CONSTANT_PS" bias="2" length="11" engine="render">
|
||||
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
|
||||
<field name="MOCS" start="8" end="14" type="uint"/>
|
||||
<field name="MOCS" start="8" end="14" type="mbz"/>
|
||||
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="23"/>
|
||||
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
@@ -1089,7 +1089,7 @@
|
||||
|
||||
<instruction name="3DSTATE_CONSTANT_VS" bias="2" length="11" engine="render">
|
||||
<field name="DWord Length" start="0" end="7" type="uint" default="9"/>
|
||||
<field name="MOCS" start="8" end="14" type="uint"/>
|
||||
<field name="MOCS" start="8" end="14" type="mbz"/>
|
||||
<field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="21"/>
|
||||
<field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
|
||||
Reference in New Issue
Block a user