mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 22:18:13 +02:00
anv: fix incorrect batch for 3DSTATE_CONSTANT_ALL emission
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:c950fe97a0("anv: implement generated (indexed) indirect draws") Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23074> (cherry picked from commitd7c28e526b)
This commit is contained in:
parent
d6d2f3661f
commit
6cfd019a85
2 changed files with 2 additions and 2 deletions
|
|
@ -976,7 +976,7 @@
|
|||
"description": "anv: fix incorrect batch for 3DSTATE_CONSTANT_ALL emission",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "c950fe97a05ef54e8298544a4582d21e524ada08"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ genX(cmd_buffer_emit_generate_draws_pipeline)(struct anv_cmd_buffer *cmd_buffer)
|
|||
*
|
||||
* Note that Wa_16011448509 isn't needed here as all address bits are zero.
|
||||
*/
|
||||
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_CONSTANT_ALL), c) {
|
||||
anv_batch_emit(batch, GENX(3DSTATE_CONSTANT_ALL), c) {
|
||||
/* Update empty push constants for all stages (bitmask = 11111b) */
|
||||
c.ShaderUpdateEnable = 0x1f;
|
||||
c.MOCS = anv_mocs(cmd_buffer->device, NULL, 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue