From: Eric Anholt Date: Wed, 19 Jun 2019 19:00:57 +0000 (-0700) Subject: freedreno: Drop stale comment about skipping uploads. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9f7f3e4972bd758e903adbdb6bdc2152413de73;p=mesa.git freedreno: Drop stale comment about skipping uploads. We already skip the upload if it's unused, due to the constlen > offset check. Reviewed-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c index fde02aa23c9..ad74c8b1b66 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_gallium.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_gallium.c @@ -496,7 +496,6 @@ ir3_emit_vs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *rin emit_common_consts(v, ring, ctx, PIPE_SHADER_VERTEX); /* emit driver params every time: */ - /* TODO skip emit if shader doesn't use driver params to avoid WFI.. */ if (info) { const struct ir3_const_state *const_state = &v->shader->const_state; uint32_t offset = const_state->offsets.driver_param;