Reduce the Vulkan interop buffer kernel workgroup size to 128 (#1846)

Vulkan guarantees 128 is always supported.

Relates to #1828

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
Kévin Petit
2023-11-23 13:36:50 +00:00
committed by GitHub
parent eec46a087a
commit 5815e2ce33
2 changed files with 1 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ layout(binding = 1) buffer Buffer
{
uint8_t ptr[];
} bufferPtrList[MAX_BUFFERS];
layout(local_size_x = 256) in;
layout(local_size_x = 128) in;
void main() {
for (uint32_t bufIdx = 0; bufIdx < numBuffers; bufIdx++) {
uint32_t ptrIdx = gl_GlobalInvocationID.x;