diff --git a/.pick_status.json b/.pick_status.json index 370a6b94d92..60d2ac3cd54 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -283,7 +283,7 @@ "description": "panfrost: Fix inverted indirect dispatch condition", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "fd7b44882ce3c7604be592f484264097125dfa52" }, diff --git a/src/gallium/drivers/panfrost/pan_cmdstream.c b/src/gallium/drivers/panfrost/pan_cmdstream.c index 3cc8371387f..37f2144d8b3 100644 --- a/src/gallium/drivers/panfrost/pan_cmdstream.c +++ b/src/gallium/drivers/panfrost/pan_cmdstream.c @@ -3522,7 +3522,7 @@ panfrost_launch_grid(struct pipe_context *pipe, /* Indirect dispatch can't handle workgroup local storage since that * would require dynamic memory allocation. Bail in this case. */ - if (info->indirect && (!cs->info.wls_size || !PAN_GPU_INDIRECTS)) { + if (info->indirect && ((cs->info.wls_size != 0) || !PAN_GPU_INDIRECTS)) { struct pipe_transfer *transfer; uint32_t *params = pipe_buffer_map_range(pipe, info->indirect, info->indirect_offset,