mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
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> (cherry picked from commit75990e5564)
This commit is contained in:
parent
cc0bd5d8ab
commit
8104b4a92b
2 changed files with 3 additions and 1 deletions
|
|
@ -211,7 +211,7 @@
|
|||
"description": "anv: ensure CFE_STATE is emitted for ray tracing pipelines",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ecb709c85351c8c127a1cd3577c74d6b2b0b706a"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6503,6 +6503,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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue