mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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:
parent
8447b99f61
commit
7e636d52f1
2 changed files with 1 additions and 1010 deletions
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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue