lavapipe: expose subgroups in mesh/task shaders.
These are just compute shaders under the hood. Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23979>
This commit is contained in:
@@ -944,7 +944,7 @@ lvp_get_physical_device_properties_1_1(struct lvp_physical_device *pdevice,
|
||||
p->deviceNodeMask = 0;
|
||||
|
||||
p->subgroupSize = lp_native_vector_width / 32;
|
||||
p->subgroupSupportedStages = VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMPUTE_BIT;
|
||||
p->subgroupSupportedStages = VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMPUTE_BIT | VK_SHADER_STAGE_TASK_BIT_EXT | VK_SHADER_STAGE_MESH_BIT_EXT;
|
||||
p->subgroupSupportedOperations = VK_SUBGROUP_FEATURE_BASIC_BIT | VK_SUBGROUP_FEATURE_VOTE_BIT | VK_SUBGROUP_FEATURE_ARITHMETIC_BIT | VK_SUBGROUP_FEATURE_BALLOT_BIT;
|
||||
p->subgroupQuadOperationsInAllStages = false;
|
||||
|
||||
|
Reference in New Issue
Block a user