mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
pan/mdg: Identify per-sample interpolation mode
So this is what .interp0 was this whole time. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5929>
This commit is contained in:
parent
59308a3a64
commit
b2749c141d
2 changed files with 3 additions and 0 deletions
|
|
@ -1082,6 +1082,8 @@ print_varying_parameters(FILE *fp, midgard_load_store_word *word)
|
|||
if (param.interpolation != midgard_interp_default) {
|
||||
if (param.interpolation == midgard_interp_centroid)
|
||||
fprintf(fp, ".centroid");
|
||||
else if (param.interpolation == midgard_interp_sample)
|
||||
fprintf(fp, ".sample");
|
||||
else
|
||||
fprintf(fp, ".interp%d", param.interpolation);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -519,6 +519,7 @@ typedef enum {
|
|||
} midgard_load_store_op;
|
||||
|
||||
typedef enum {
|
||||
midgard_interp_sample = 0,
|
||||
midgard_interp_centroid = 1,
|
||||
midgard_interp_default = 2
|
||||
} midgard_interpolation;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue