mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
freedreno/ir3: fix flat shading again
These days `ctx->inputs` is the split scalar input components and
`ir->inputs` is the full vecN. This got fixed in the load_input case,
but the load_interpolated_input case was missed.
Fixes: bdf6b7018c ("freedreno/ir3: re-work shader inputs/outputs")
Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
a8beef332d
commit
0c32063794
1 changed files with 1 additions and 1 deletions
|
|
@ -1536,7 +1536,7 @@ emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr)
|
|||
* that is easier than mapping things back to a
|
||||
* nir_variable to figure out what it is.
|
||||
*/
|
||||
dst[i] = ctx->ir->inputs[inloc];
|
||||
dst[i] = ctx->inputs[inloc];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue