diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-12-18 21:09:28 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-12-18 22:18:14 +0100 |
commit | 1d529cba024f8b56c4ce4ae7294c6d1bac23ad08 (patch) | |
tree | 9b773f0d8f97b923253391c03d6ca84f5f2bdfcb /src | |
parent | 6229994ab75cab2565c3df7b47b8fb32e4b31d45 (diff) |
radv: Use correct workgroup size limits.
Not sure where the 16k comes from, but pretty sure 2k is the max.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 6362e9ead12..7a64cc44737 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -475,11 +475,11 @@ void radv_GetPhysicalDeviceProperties( .maxFragmentCombinedOutputResources = 8, .maxComputeSharedMemorySize = 32768, .maxComputeWorkGroupCount = { 65535, 65535, 65535 }, - .maxComputeWorkGroupInvocations = 16 * 1024, + .maxComputeWorkGroupInvocations = 2048, .maxComputeWorkGroupSize = { - 16 * 1024/*devinfo->max_cs_threads*/, - 16 * 1024, - 16 * 1024 + 2048, + 2048, + 2048 }, .subPixelPrecisionBits = 4 /* FIXME */, .subTexelPrecisionBits = 4 /* FIXME */, |