summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/a3xx/ir3_ra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/ir3_ra.c b/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
index d926483a222..4e48eded2bb 100644
--- a/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
+++ b/src/gallium/drivers/freedreno/a3xx/ir3_ra.c
@@ -104,8 +104,8 @@ static int output_base(struct ir3_ra_ctx *ctx)
*/
if (ctx->type == SHADER_FRAGMENT) {
if (ctx->half_precision)
- return ctx->frag_face ? 1 : 0;
- return ctx->frag_coord ? 6 : 2;
+ return ctx->frag_face ? 4 : 3;
+ return ctx->frag_coord ? 8 : 4;
}
return 0;
}