mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
radv: Enable subgroup feature bits for mesh and task shaders.
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/18520>
This commit is contained in:
parent
3335f9b19f
commit
5f68262de3
1 changed files with 3 additions and 0 deletions
|
|
@ -2036,6 +2036,9 @@ radv_get_physical_device_properties_1_1(struct radv_physical_device *pdevice,
|
|||
|
||||
p->subgroupSize = RADV_SUBGROUP_SIZE;
|
||||
p->subgroupSupportedStages = VK_SHADER_STAGE_ALL_GRAPHICS | VK_SHADER_STAGE_COMPUTE_BIT;
|
||||
if (radv_taskmesh_enabled(pdevice))
|
||||
p->subgroupSupportedStages |= VK_SHADER_STAGE_MESH_BIT_EXT | VK_SHADER_STAGE_TASK_BIT_EXT;
|
||||
|
||||
if (radv_enable_rt(pdevice, true))
|
||||
p->subgroupSupportedStages |= RADV_RT_STAGE_BITS;
|
||||
p->subgroupSupportedOperations =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue