intel/genxml/gen125: Set MI_MATH MOCS field as non-zero

All MOCS tables have 0 as a invalid value, so this will asssert
in case some place misset to set MI_MATH MOCS field.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22508>
This commit is contained in:
José Roberto de Souza 2023-04-17 10:10:37 -07:00 committed by Marge Bot
parent b0b763d0be
commit 373019f9ef

View file

@ -6298,7 +6298,7 @@
</instruction>
<instruction name="MI_MATH" bias="2">
<field name="DWord Length" start="0" end="7" type="uint" default="0" />
<field name="MOCS" start="8" end="14" type="uint" />
<field name="MOCS" start="8" end="14" type="uint" nonzero="true" />
<field name="Predication Enable" start="15" end="15" type="bool" />
<field name="MI Command Opcode" start="23" end="28" type="uint" default="26" />
<field name="Command Type" start="29" end="31" type="uint" default="0" />