mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 12:30:11 +01:00
nv50: fix FACE semantic check in FP input slot assignments
Fixes for instance noise with material shaders in FlightGear.
This commit is contained in:
parent
b1e3e03d67
commit
1f19aba1ea
1 changed files with 1 additions and 1 deletions
|
|
@ -3762,7 +3762,7 @@ nv50_program_tx_prep(struct nv50_pc *pc)
|
|||
p->cfg.in[n].hw = rid = aid;
|
||||
i = p->cfg.in[n].id;
|
||||
|
||||
if (p->info.input_semantic_name[n] ==
|
||||
if (p->info.input_semantic_name[i] ==
|
||||
TGSI_SEMANTIC_FACE) {
|
||||
load_frontfacing(pc, &pc->attr[i * 4]);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue