mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
r600g: Added missing r600_bc_add_literal() calls to XPD implementation.
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
460c5304ab
commit
1e28dd4ebe
1 changed files with 8 additions and 0 deletions
|
|
@ -1850,6 +1850,10 @@ static int tgsi_xpd(struct r600_shader_ctx *ctx)
|
|||
r = r600_bc_add_alu(ctx->bc, &alu);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
r = r600_bc_add_literal(ctx->bc, ctx->value);
|
||||
if (r)
|
||||
return r;
|
||||
}
|
||||
|
||||
for (i = 0; i < 4; i++) {
|
||||
|
|
@ -1907,6 +1911,10 @@ static int tgsi_xpd(struct r600_shader_ctx *ctx)
|
|||
r = r600_bc_add_alu(ctx->bc, &alu);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
r = r600_bc_add_literal(ctx->bc, ctx->value);
|
||||
if (r)
|
||||
return r;
|
||||
}
|
||||
if (use_temp)
|
||||
return tgsi_helper_copy(ctx, inst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue