tu: Fix VK_EXT_extended_dynamic_state3 feature
Don't claim to support extendedDynamicState3SampleLocationsEnable on pre-A650 GPUs,
which can't advertise VK_EXT_sample_locations.
Fixes dEQP-VK.info.device_mandatory_features on A6xx Gen 1 and Gen 2.
Fixes: 84726da2f4
("tu: Implement extendedDynamicState3SampleLocationsEnable")
Signed-off-by: Valentine Burley <valentine.burley@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30730>
This commit is contained in:

committed by
Marge Bot

parent
630d6d1f2e
commit
98d52cf292
@@ -312,6 +312,3 @@ spec@arb_gpu_shader_fp64@execution@arb_gpu_shader_fp64-gs-getuniformdv,Crash
|
||||
# GL tests above, Vulkan tests below
|
||||
|
||||
|
||||
# We can't support VK_EXT_sample_locations on pre-A650 GPUs
|
||||
# See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4665#note_473653
|
||||
dEQP-VK.info.device_mandatory_features,Fail
|
||||
|
@@ -308,7 +308,3 @@ spec@glsl-1.30@execution@fs-uint-to-float-of-extract-int8,Fail
|
||||
dynamic-dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d24_unorm_s8_uint.compatibility_depth_zero_stencil_zero_testing_stencil,Fail
|
||||
dynamic-dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d24_unorm_s8_uint_separate_layouts.compatibility_depth_zero_stencil_zero_testing_stencil,Fail
|
||||
dynamic-dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d32_sfloat_s8_uint_separate_layouts.compatibility_depth_zero_stencil_zero_testing_stencil,Fail
|
||||
|
||||
# We can't support VK_EXT_sample_locations on pre-A650 GPUs
|
||||
# See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4665#note_473653
|
||||
dEQP-VK.info.device_mandatory_features,Fail
|
||||
|
@@ -568,7 +568,8 @@ tu_get_features(struct tu_physical_device *pdevice,
|
||||
features->extendedDynamicState3LineRasterizationMode = true;
|
||||
features->extendedDynamicState3LineStippleEnable = false;
|
||||
features->extendedDynamicState3ProvokingVertexMode = true;
|
||||
features->extendedDynamicState3SampleLocationsEnable = true;
|
||||
features->extendedDynamicState3SampleLocationsEnable =
|
||||
pdevice->info->a6xx.has_sample_locations;
|
||||
features->extendedDynamicState3ColorBlendEnable = true;
|
||||
features->extendedDynamicState3ColorBlendEquation = true;
|
||||
features->extendedDynamicState3ColorWriteMask = true;
|
||||
|
Reference in New Issue
Block a user