projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14b753f
)
anv: Use isl_device_get_sample_counts()
author
Chad Versace
<chad.versace@intel.com>
Thu, 21 Jan 2016 00:04:28 +0000
(16:04 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Sat, 23 Jan 2016 01:19:57 +0000
(17:19 -0800)
Use it in vkGetPhysicalDeviceProperties.
src/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_device.c
b/src/vulkan/anv_device.c
index 7d0f25e7d70705bbd7d67e0bfb4f89dedc386baa..ed9bb0852c80b2ce74d43aab6860592335ebed8e 100644
(file)
--- 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),