v3d: Stop advertising support for flat shading.

The GL frontend can lower this weird GL feature away for us.  This should
fix redeclaration of the gl_Color/SecondaryColor as centroid, since that
case had been missed in the !flat special case here.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8601>
This commit is contained in:
Eric Anholt
2021-01-20 13:22:23 -08:00
parent ff805f8ac7
commit bcb5f9f94a
5 changed files with 1 additions and 29 deletions

View File

@@ -389,7 +389,6 @@ struct v3d_fs_key {
bool sample_coverage;
bool sample_alpha_to_coverage;
bool sample_alpha_to_one;
bool shade_model_flat;
/* Mask of which color render targets are present. */
uint8_t cbufs;
uint8_t swap_color_rb;