ac/nir/ps: lower barycentric load when bc_optimize

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21683>
This commit is contained in:
Qiang Yu
2023-03-02 20:08:14 +08:00
committed by Marge Bot
parent d6c5596c37
commit 0e4ac0c1d6
2 changed files with 124 additions and 10 deletions

View File

@@ -304,6 +304,9 @@ typedef struct {
unsigned color_is_int8;
unsigned color_is_int10;
bool bc_optimize_for_persp;
bool bc_optimize_for_linear;
/* OpenGL only */
bool clamp_color;
bool alpha_to_one;