Mesa (master): anv: Ensure discreteQueuePriorities is at least 2

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 3 06:00:15 UTC 2018


Module: Mesa
Branch: master
Commit: f0b987646acf215f4f653832cf333ca16a05cdcf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f0b987646acf215f4f653832cf333ca16a05cdcf

Author: Gabriel Majeri <gabriel.majeri6 at gmail.com>
Date:   Sun Aug 26 21:48:01 2018 +0300

anv: Ensure discreteQueuePriorities is at least 2

This is the minimum value according to the spec.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

---

 src/intel/vulkan/anv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index d392541c0c..8f0cbad305 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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),




More information about the mesa-commit mailing list