mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
vc4: Fix point size lookup.
I think I may have regressed this in the NIR conversion. TGSI-to-NIR is putting the PSIZ in the .x channel, not .w, so we were grabbing some garbage for point size, which ended up meaning just not drawing points. Fixes glean pointAtten and pointsprite.
This commit is contained in:
parent
4befd82a64
commit
81544f231a
1 changed files with 1 additions and 1 deletions
|
|
@ -1171,7 +1171,7 @@ emit_point_size_write(struct vc4_compile *c)
|
|||
struct qreg point_size;
|
||||
|
||||
if (c->output_point_size_index != -1)
|
||||
point_size = c->outputs[c->output_point_size_index + 3];
|
||||
point_size = c->outputs[c->output_point_size_index];
|
||||
else
|
||||
point_size = qir_uniform_f(c, 1.0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue