anv: ensure CFE_STATE is emitted for ray tracing pipelines

Fixes sporadic failures in dEQP-VK.robustness.robustness2.*.rgen

Fixes: ecb709c853 ("anv: only emit CFE_STATE when scratch space increases")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9382

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24206>
This commit is contained in:
Iván Briano 2023-07-17 21:37:10 -07:00
parent 4cf94ce90e
commit 75990e5564

View file

@ -6380,6 +6380,8 @@ cmd_buffer_trace_rays(struct anv_cmd_buffer *cmd_buffer,
}
}
genX(cmd_buffer_ensure_cfe_state)(cmd_buffer, pipeline->scratch_size);
const struct brw_cs_prog_data *cs_prog_data =
brw_cs_prog_data_const(device->rt_trampoline->prog_data);
struct brw_cs_dispatch_info dispatch =