hk: Disable 1x in sampleLocationsSampleCounts
We don't support it, everyone dropped support for that, let's not expose it.
Fixes: 5bc8284816 ("hk: add Vulkan driver for Apple GPUs")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38054>
This commit is contained in:
committed by
Marge Bot
parent
8447b99f61
commit
7e636d52f1
File diff suppressed because it is too large
Load Diff
@@ -953,7 +953,7 @@ hk_get_device_properties(const struct agx_device *dev,
|
||||
.robustUniformBufferAccessSizeAlignment = HK_MIN_UBO_ALIGNMENT,
|
||||
|
||||
/* VK_EXT_sample_locations */
|
||||
.sampleLocationSampleCounts = sample_counts,
|
||||
.sampleLocationSampleCounts = sample_counts & ~VK_SAMPLE_COUNT_1_BIT,
|
||||
.maxSampleLocationGridSize = (VkExtent2D){1, 1},
|
||||
.sampleLocationCoordinateRange[0] = 0.0f,
|
||||
.sampleLocationCoordinateRange[1] = 0.9375f,
|
||||
|
||||
Reference in New Issue
Block a user