mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
anv: Fix subgroupSupportedStages physical property
Use the proper Vulkan values that can be combined into a bitmask.
Fixes: f40a08d25c ("anv: Don't advertise unsupported shader stages")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14761>
This commit is contained in:
parent
89f376b506
commit
d6c31f05a2
1 changed files with 6 additions and 6 deletions
|
|
@ -1960,12 +1960,12 @@ anv_get_physical_device_properties_1_1(struct anv_physical_device *pdevice,
|
|||
scalar_stages |= mesa_to_vk_shader_stage(stage);
|
||||
}
|
||||
if (pdevice->vk.supported_extensions.KHR_ray_tracing_pipeline) {
|
||||
scalar_stages |= MESA_SHADER_RAYGEN |
|
||||
MESA_SHADER_ANY_HIT |
|
||||
MESA_SHADER_CLOSEST_HIT |
|
||||
MESA_SHADER_MISS |
|
||||
MESA_SHADER_INTERSECTION |
|
||||
MESA_SHADER_CALLABLE;
|
||||
scalar_stages |= VK_SHADER_STAGE_RAYGEN_BIT_KHR |
|
||||
VK_SHADER_STAGE_ANY_HIT_BIT_KHR |
|
||||
VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR |
|
||||
VK_SHADER_STAGE_MISS_BIT_KHR |
|
||||
VK_SHADER_STAGE_INTERSECTION_BIT_KHR |
|
||||
VK_SHADER_STAGE_CALLABLE_BIT_KHR;
|
||||
}
|
||||
p->subgroupSupportedStages = scalar_stages;
|
||||
p->subgroupSupportedOperations = VK_SUBGROUP_FEATURE_BASIC_BIT |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue