mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
anv: Implement missing part of Wa_1604061319
Description of this workaround are not clear but looking at Iris implementation we need to emit all 3DSTATE_PUSH_CONSTANT_ALLOC_XS if any 3DSTATE_PUSH_CONSTANT_ALLOC_XS is emitted. Cc: mesa-stable Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34988>
This commit is contained in:
parent
a1376449c8
commit
2432d6677e
1 changed files with 7 additions and 1 deletions
|
|
@ -915,8 +915,14 @@ cmd_buffer_flush_gfx_state(struct anv_cmd_buffer *cmd_buffer)
|
|||
*/
|
||||
dirty |= cmd_buffer->state.push_constants_dirty &
|
||||
pipeline->base.base.active_stages;
|
||||
#if INTEL_NEEDS_WA_1604061319
|
||||
/* Testing shows that all the 3DSTATE_CONSTANT_XS need to be emitted if
|
||||
* any stage has 3DSTATE_CONSTANT_XS emitted.
|
||||
*/
|
||||
dirty |= pipeline->base.base.active_stages;
|
||||
#endif
|
||||
cmd_buffer_flush_gfx_push_constants(cmd_buffer,
|
||||
dirty & VK_SHADER_STAGE_ALL_GRAPHICS);
|
||||
dirty & VK_SHADER_STAGE_ALL_GRAPHICS);
|
||||
#if GFX_VERx10 >= 125
|
||||
cmd_buffer_flush_mesh_inline_data(
|
||||
cmd_buffer, dirty & (VK_SHADER_STAGE_TASK_BIT_EXT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue