mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
nvc0: mask out centroid bit for writing FP header
It's only 2 bit per input, centroid is set in the instruction.
This commit is contained in:
parent
0abaaac872
commit
259efc90e7
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ nvc0_fp_gen_header(struct nvc0_program *fp, struct nvc0_translation_info *ti)
|
|||
}
|
||||
|
||||
for (i = 0; i <= ti->scan.file_max[TGSI_FILE_INPUT]; ++i) {
|
||||
m = ti->interp_mode[i];
|
||||
m = ti->interp_mode[i] & 3;
|
||||
for (c = 0; c < 4; ++c) {
|
||||
if (!ti->input_access[i][c])
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue