summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2016-01-20 16:04:28 -0800
committerChad Versace <[email protected]>2016-01-22 17:19:57 -0800
commit1c5d7b38e288314d1affbf75887b40de6596ca4d (patch)
tree0f952ffb0983d5c499b8594484354d1dd8f3694a /src/vulkan/anv_device.c
parent14b753f666eed3933ba155fb493e6142c33cb96e (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.c5
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),