radv: Enable required subgroup size on mesh/task.
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23925>
This commit is contained in:
@@ -1386,6 +1386,10 @@ radv_get_physical_device_properties_1_3(struct radv_physical_device *pdevice, Vk
|
||||
/* Only GFX10+ supports wave32. */
|
||||
p->minSubgroupSize = 32;
|
||||
p->requiredSubgroupSizeStages = VK_SHADER_STAGE_COMPUTE_BIT;
|
||||
|
||||
if (radv_taskmesh_enabled(pdevice)) {
|
||||
p->requiredSubgroupSizeStages |= VK_SHADER_STAGE_MESH_BIT_EXT | VK_SHADER_STAGE_TASK_BIT_EXT;
|
||||
}
|
||||
}
|
||||
|
||||
p->maxInlineUniformBlockSize = MAX_INLINE_UNIFORM_BLOCK_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user