Skip to content

radv: Make sure mesh shader draw ID is zero when using a task shader.

Timur Kristóf requested to merge Venemo/mesa:radv_mesh_draw_id_assert into main

Prevent potential GPU hangs or other issues due to undefined behaviour.

The draw ID is undefined in mesh shaders when a task shader is also used. However, it's better to make sure it's set to zero in order to prevent potential application bugs causing out of bounds memory access or GPU hangs.

Edited by Timur Kristóf

Merge request reports