freedreno: Drop unused arg

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18646>
This commit is contained in:
Rob Clark 2022-09-18 11:17:17 -07:00 committed by Marge Bot
parent 075218f756
commit f8204018fd
2 changed files with 3 additions and 4 deletions

View file

@ -278,7 +278,7 @@ fd6_build_user_consts(struct fd6_emit *emit)
for (unsigned i = 0; i < ARRAY_SIZE(types); i++) {
if (!variants[i])
continue;
ir3_emit_user_consts(ctx->screen, variants[i], constobj,
ir3_emit_user_consts(variants[i], constobj,
&ctx->constbuf[types[i]]);
fd6_emit_ubos(ctx, variants[i], constobj, &ctx->constbuf[types[i]]);
}

View file

@ -151,8 +151,7 @@ ir3_emit_constant_data(struct fd_screen *screen,
* shader).
*/
static inline void
ir3_emit_user_consts(struct fd_screen *screen,
const struct ir3_shader_variant *v,
ir3_emit_user_consts(const struct ir3_shader_variant *v,
struct fd_ringbuffer *ring,
struct fd_constbuf_stateobj *constbuf)
{
@ -420,7 +419,7 @@ emit_common_consts(const struct ir3_shader_variant *v,
ring_wfi(ctx->batch, ring);
ir3_emit_user_consts(ctx->screen, v, ring, constbuf);
ir3_emit_user_consts(v, ring, constbuf);
ir3_emit_ubos(ctx, v, ring, constbuf);
if (shader_dirty)
ir3_emit_immediates(ctx->screen, v, ring);