mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
radv: remove redundant drawCount == 0 for indirect mesh/task draws
This is already handled in radv_before_taskmesh_draw(). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33404>
This commit is contained in:
parent
8625decbcc
commit
ef7e28e7a8
1 changed files with 0 additions and 3 deletions
|
|
@ -11467,9 +11467,6 @@ VKAPI_ATTR void VKAPI_CALL
|
|||
radv_CmdDrawMeshTasksIndirectEXT(VkCommandBuffer commandBuffer, VkBuffer _buffer, VkDeviceSize offset,
|
||||
uint32_t drawCount, uint32_t stride)
|
||||
{
|
||||
if (!drawCount)
|
||||
return;
|
||||
|
||||
VK_FROM_HANDLE(radv_cmd_buffer, cmd_buffer, commandBuffer);
|
||||
VK_FROM_HANDLE(radv_buffer, buffer, _buffer);
|
||||
struct radv_device *device = radv_cmd_buffer_device(cmd_buffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue