File Mesa-crankup_RADV_3Dcompute.patch of Package Mesa

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 158cf49c08b..08fabf1bce7 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1682,15 +1682,15 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
    VkPhysicalDeviceLimits limits = {
       .maxImageDimension1D = (1 << 14),
       .maxImageDimension2D = (1 << 14),
-      .maxImageDimension3D = (1 << 11),
+      .maxImageDimension3D = (1 << 14),
       .maxImageDimensionCube = (1 << 14),
-      .maxImageArrayLayers = (1 << 11),
+      .maxImageArrayLayers = (1 << 14),
       .maxTexelBufferElements = UINT32_MAX,
       .maxUniformBufferRange = UINT32_MAX,
       .maxStorageBufferRange = UINT32_MAX,
       .maxPushConstantsSize = MAX_PUSH_CONSTANTS_SIZE,
       .maxMemoryAllocationCount = UINT32_MAX,
-      .maxSamplerAllocationCount = 64 * 1024,
+      .maxSamplerAllocationCount = 256 * 1024,
       .bufferImageGranularity = 64,                              /* A cache line */
       .sparseAddressSpaceSize = RADV_MAX_MEMORY_ALLOCATION_SIZE, /* buffer max size */
       .maxBoundDescriptorSets = MAX_SETS,
@@ -1722,12 +1722,12 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .maxTessellationControlTotalOutputComponents = 4096,
       .maxTessellationEvaluationInputComponents = 128,
       .maxTessellationEvaluationOutputComponents = 128,
-      .maxGeometryShaderInvocations = 127,
-      .maxGeometryInputComponents = 64,
-      .maxGeometryOutputComponents = 128,
-      .maxGeometryOutputVertices = 256,
-      .maxGeometryTotalOutputComponents = 1024,
-      .maxFragmentInputComponents = 128,
+      .maxGeometryShaderInvocations = 4095,
+      .maxGeometryInputComponents = 512,
+      .maxGeometryOutputComponents = 2048,
+      .maxGeometryOutputVertices = 1024,
+      .maxGeometryTotalOutputComponents = 4096,
+      .maxFragmentInputComponents = 512,
       .maxFragmentOutputAttachments = 8,
       .maxFragmentDualSrcAttachments = 1,
       .maxFragmentCombinedOutputResources = 8,
@@ -1745,7 +1745,7 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .maxViewports = MAX_VIEWPORTS,
       .maxViewportDimensions = {(1 << 14), (1 << 14)},
       .viewportBoundsRange = {INT16_MIN, INT16_MAX},
-      .viewportSubPixelBits = 8,
+      .viewportSubPixelBits = 13,
       .minMemoryMapAlignment = 4096, /* A page */
       .minTexelBufferOffsetAlignment = 4,
       .minUniformBufferOffsetAlignment = radv_uniform_buffer_offset_alignment(pdevice),
@@ -1759,7 +1759,7 @@ radv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .subPixelInterpolationOffsetBits = 8,
       .maxFramebufferWidth = (1 << 14),
       .maxFramebufferHeight = (1 << 14),
-      .maxFramebufferLayers = (1 << 10),
+      .maxFramebufferLayers = (1 << 14),
       .framebufferColorSampleCounts = sample_counts,
       .framebufferDepthSampleCounts = sample_counts,
       .framebufferStencilSampleCounts = sample_counts,
openSUSE Build Service is sponsored by