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 <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Bas Nieuwenhuizen 2016-12-18 21:09:28 +01:00
parent 6229994ab7
commit 1d529cba02
1 changed files with 4 additions and 4 deletions

View File

@ -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 */,