mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
anv: vkCmdTraceRays* are not covered by conditional rendering
The spec says: Certain rendering commands can be executed conditionally based on a value in buffer memory. These rendering commands are limited to drawing commands, dispatching commands, and clearing attachments with vkCmdClearAttachments within a conditional rendering block which is defined by commands vkCmdBeginConditionalRenderingEXT and vkCmdEndConditionalRenderingEXT. Other rendering commands remain unaffected by conditional rendering. It would seem that vkCmdTraceRays* are not covered by that. Fixes new tests dEQP-VK.conditional_rendering.conditional_ignore.trace_rays* Reviewed-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/34864>
This commit is contained in:
parent
bdadd1aa68
commit
99405647a4
1 changed files with 1 additions and 1 deletions
|
|
@ -1435,7 +1435,7 @@ cmd_buffer_trace_rays(struct anv_cmd_buffer *cmd_buffer,
|
|||
GENX(COMPUTE_WALKER_length),
|
||||
GENX(COMPUTE_WALKER),
|
||||
.IndirectParameterEnable = params->is_launch_size_indirect,
|
||||
.PredicateEnable = cmd_buffer->state.conditional_render_enabled,
|
||||
.PredicateEnable = false,
|
||||
.body = body,
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue