mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
anv: remove dg2 condition for Wa_22011440098
We need same workaround for MTL. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19636>
This commit is contained in:
parent
3eadb3f5b0
commit
0d85a0d7cd
1 changed files with 6 additions and 7 deletions
|
|
@ -2287,18 +2287,17 @@ cmd_buffer_alloc_push_constants(struct anv_cmd_buffer *cmd_buffer)
|
|||
}
|
||||
|
||||
#if GFX_VERx10 == 125
|
||||
/* Wa_22011440098
|
||||
/* DG2: Wa_22011440098
|
||||
* MTL: Wa_18022330953
|
||||
*
|
||||
* In 3D mode, after programming push constant alloc command immediately
|
||||
* program push constant command(ZERO length) without any commit between
|
||||
* them.
|
||||
*/
|
||||
if (intel_device_info_is_dg2(cmd_buffer->device->info)) {
|
||||
anv_batch_emit(&cmd_buffer->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);
|
||||
}
|
||||
anv_batch_emit(&cmd_buffer->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);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue