mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
anv: Use isl_device_get_sample_counts()
Use it in vkGetPhysicalDeviceProperties.
This commit is contained in:
parent
14b753f666
commit
1c5d7b38e2
1 changed files with 1 additions and 4 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue