mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
freedreno/ir3: fix input ncomp for vertex shaders
ncomp is never set for vertex shaders, but a3xx and a4xx still use it.
Fixes: 831f1a05c0 freedreno/ir3: rework varying packing
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
65df6122da
commit
1db86d8b62
1 changed files with 1 additions and 0 deletions
|
|
@ -2381,6 +2381,7 @@ setup_input(struct ir3_context *ctx, nir_variable *in)
|
|||
so->inputs[n].compmask = (1 << (ncomp + frac)) - 1;
|
||||
so->inputs_count = MAX2(so->inputs_count, n + 1);
|
||||
so->inputs[n].interpolate = in->data.interpolation;
|
||||
so->inputs[n].ncomp = ncomp;
|
||||
|
||||
if (ctx->so->type == MESA_SHADER_FRAGMENT) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue