mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
anv,iris: prefix the argument format with XI for a upcoming refactor
Backport-to: 24.2 Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30690>
This commit is contained in:
parent
dc23db2a0d
commit
c1af71c9c2
3 changed files with 3 additions and 3 deletions
|
|
@ -8634,7 +8634,7 @@ iris_upload_indirect_render_state(struct iris_context *ice,
|
|||
|
||||
iris_emit_cmd(batch, GENX(EXECUTE_INDIRECT_DRAW), ind) {
|
||||
ind.ArgumentFormat =
|
||||
draw->index_size > 0 ? DRAWINDEXED : DRAW;
|
||||
draw->index_size > 0 ? XI_DRAWINDEXED : XI_DRAW;
|
||||
ind.PredicateEnable = use_predicate;
|
||||
ind.TBIMREnabled = ice->state.use_tbimr;
|
||||
ind.MaxCount = indirect->draw_count;
|
||||
|
|
|
|||
|
|
@ -1669,7 +1669,7 @@
|
|||
<field name="DWord Length" start="0" end="7" type="uint" default="4" />
|
||||
<field name="Predicate Enable" start="8" end="8" type="bool" />
|
||||
<field name="TBIMR Enabled" start="9" end="9" type="uint" />
|
||||
<field name="Argument Format" start="10" end="11" type="uint">
|
||||
<field name="Argument Format" start="10" end="11" type="uint" prefix="XI">
|
||||
<value name="DRAW" value="0" />
|
||||
<value name="DRAWINDEXED" value="1" />
|
||||
<value name="MESH_3D" value="2" />
|
||||
|
|
|
|||
|
|
@ -1705,7 +1705,7 @@ emit_indirect_draws(struct anv_cmd_buffer *cmd_buffer,
|
|||
#if GFX_VERx10 >= 125
|
||||
genX(emit_breakpoint)(&cmd_buffer->batch, cmd_buffer->device, true);
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(EXECUTE_INDIRECT_DRAW), ind) {
|
||||
ind.ArgumentFormat = indexed ? DRAWINDEXED : DRAW;
|
||||
ind.ArgumentFormat = indexed ? XI_DRAWINDEXED : XI_DRAW;
|
||||
ind.TBIMREnabled = cmd_buffer->state.gfx.dyn_state.use_tbimr;
|
||||
ind.PredicateEnable =
|
||||
cmd_buffer->state.conditional_render_enabled;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue