]> git.pld-linux.org Git - packages/Mesa.git/commitdiff
actually add bug111552.patch auto/th/Mesa-19.1.6-1
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 10 Sep 2019 07:14:50 +0000 (09:14 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Tue, 10 Sep 2019 07:14:50 +0000 (09:14 +0200)
bug111552.patch [new file with mode: 0644]

diff --git a/bug111552.patch b/bug111552.patch
new file mode 100644 (file)
index 0000000..1e053f5
--- /dev/null
@@ -0,0 +1,44 @@
+From 3b1a7e5333335900293935399ce49a67562eafc7 Mon Sep 17 00:00:00 2001
+From: Jason Ekstrand <jason@jlekstrand.net>
+Date: Tue, 3 Sep 2019 10:00:23 -0500
+Subject: [PATCH] anv: Bump maxComputeWorkgroupSize
+
+Fixes: 9a129510f56f "anv: Bump maxComputeWorkgroupInvocations"
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111552
+Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
+---
+ src/intel/vulkan/anv_device.c | 10 ++++++----
+ 1 file changed, 6 insertions(+), 4 deletions(-)
+
+diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
+index a6572135c91..3497a01f900 100644
+--- a/src/intel/vulkan/anv_device.c
++++ b/src/intel/vulkan/anv_device.c
+@@ -1264,6 +1264,8 @@ void anv_GetPhysicalDeviceProperties(
+       pdevice->has_a64_buffer_access ? UINT32_MAX :
+                                        MAX_BINDING_TABLE_SIZE - MAX_RTS;
++   const uint32_t max_workgroup_size = 32 * devinfo->max_cs_threads;
++
+    VkSampleCountFlags sample_counts =
+       isl_device_get_sample_counts(&pdevice->isl_dev);
+@@ -1322,11 +1324,11 @@ void anv_GetPhysicalDeviceProperties(
+       .maxFragmentCombinedOutputResources       = 8,
+       .maxComputeSharedMemorySize               = 64 * 1024,
+       .maxComputeWorkGroupCount                 = { 65535, 65535, 65535 },
+-      .maxComputeWorkGroupInvocations           = 32 * devinfo->max_cs_threads,
++      .maxComputeWorkGroupInvocations           = max_workgroup_size,
+       .maxComputeWorkGroupSize = {
+-         16 * devinfo->max_cs_threads,
+-         16 * devinfo->max_cs_threads,
+-         16 * devinfo->max_cs_threads,
++         max_workgroup_size,
++         max_workgroup_size,
++         max_workgroup_size,
+       },
+       .subPixelPrecisionBits                    = 8,
+       .subTexelPrecisionBits                    = 8,
+-- 
+2.22.0
+
This page took 0.072757 seconds and 4 git commands to generate.