diff options
author | Chad Versace <[email protected]> | 2016-01-20 16:04:28 -0800 |
---|---|---|
committer | Chad Versace <[email protected]> | 2016-01-22 17:19:57 -0800 |
commit | 1c5d7b38e288314d1affbf75887b40de6596ca4d (patch) | |
tree | 0f952ffb0983d5c499b8594484354d1dd8f3694a /src/vulkan/anv_device.c | |
parent | 14b753f666eed3933ba155fb493e6142c33cb96e (diff) |
anv: Use isl_device_get_sample_counts()
Use it in vkGetPhysicalDeviceProperties.
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 7d0f25e7d70..ed9bb0852c8 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -397,10 +397,7 @@ void anv_GetPhysicalDeviceProperties( const float time_stamp_base = devinfo->gen >= 9 ? 83.333 : 80.0; VkSampleCountFlags sample_counts = - VK_SAMPLE_COUNT_1_BIT | - VK_SAMPLE_COUNT_2_BIT | - VK_SAMPLE_COUNT_4_BIT | - VK_SAMPLE_COUNT_8_BIT; + isl_device_get_sample_counts(&pdevice->isl_dev); VkPhysicalDeviceLimits limits = { .maxImageDimension1D = (1 << 14), |