mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
Merge branch 'tu/encode_direct' into 'main'
tu: Use direct unaligned dispatch for encode shader See merge request mesa/mesa!38960
This commit is contained in:
commit
c7ea58e045
1 changed files with 2 additions and 3 deletions
|
|
@ -231,9 +231,8 @@ encode(VkCommandBuffer commandBuffer,
|
|||
VK_SHADER_STAGE_COMPUTE_BIT, 0, sizeof(args),
|
||||
&args);
|
||||
|
||||
tu_dispatch_unaligned_indirect(commandBuffer,
|
||||
intermediate_header_addr +
|
||||
offsetof(struct vk_ir_header, ir_internal_node_count));
|
||||
tu_dispatch_unaligned(commandBuffer,
|
||||
MAX2(state->leaf_node_count, 1), 1, 1);
|
||||
}
|
||||
|
||||
static VkResult
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue