freedreno: Drop stale comment about skipping uploads.
authorEric Anholt <eric@anholt.net>
Wed, 19 Jun 2019 19:00:57 +0000 (12:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Jul 2019 23:20:12 +0000 (16:20 -0700)
We already skip the upload if it's unused, due to the constlen >
offset check.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_gallium.c

index fde02aa23c95875f5a51dc24f251ded9303fe6a2..ad74c8b1b66952a7cb1876209413ccad0178135b 100644 (file)
@@ -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;