zink: stop zeroing local size if current compute doesn't use it
this just complicates things for later compute updates Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18197>
This commit is contained in:
committed by
Marge Bot
parent
ad96d21239
commit
8731ffa238
@@ -710,10 +710,7 @@ zink_program_update_compute_pipeline_state(struct zink_context *ctx, struct zink
|
||||
ctx->compute_pipeline_state.dirty = true;
|
||||
ctx->compute_pipeline_state.local_size[i] = block[i];
|
||||
}
|
||||
} else
|
||||
ctx->compute_pipeline_state.local_size[0] =
|
||||
ctx->compute_pipeline_state.local_size[1] =
|
||||
ctx->compute_pipeline_state.local_size[2] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user