anv: Ensure discreteQueuePriorities is at least 2
authorGabriel Majeri <gabriel.majeri6@gmail.com>
Sun, 26 Aug 2018 18:48:01 +0000 (21:48 +0300)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 3 Oct 2018 05:57:37 +0000 (07:57 +0200)
This is the minimum value according to the spec.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/anv_device.c

index d392541c0c18ed997d531fccb52cfb1135d79271..8f0cbad305fbaaa6d03e084106bb008f29b72f81 100644 (file)
@@ -1069,7 +1069,7 @@ void anv_GetPhysicalDeviceProperties(
       .maxClipDistances                         = 8,
       .maxCullDistances                         = 8,
       .maxCombinedClipAndCullDistances          = 8,
-      .discreteQueuePriorities                  = 1,
+      .discreteQueuePriorities                  = 2,
       .pointSizeRange                           = { 0.125, 255.875 },
       .lineWidthRange                           = { 0.0, 7.9921875 },
       .pointSizeGranularity                     = (1.0 / 8.0),