zink: remove leftover references to flatshading in shader keys

this is handled by st already

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10495>
This commit is contained in:
Mike Blumenkrantz 2021-04-27 20:40:36 -04:00 committed by Marge Bot
parent 02e85777cb
commit 41a42955d5
2 changed files with 0 additions and 2 deletions

View File

@ -229,7 +229,6 @@ shader_key_fs_gen(struct zink_context *ctx, struct zink_shader *zs,
key->size = sizeof(struct zink_fs_key);
fs_key->shader_id = zs->shader_id;
//fs_key->flat_shade = ctx->rast_state->base.flatshade;
/* if gl_SampleMask[] is written to, we have to ensure that we get a shader with the same sample count:
* in GL, rast_samples==1 means ignore gl_SampleMask[]

View File

@ -37,7 +37,6 @@ struct zink_fs_key {
unsigned shader_id;
uint8_t coord_replace_bits;
bool coord_replace_yinvert;
//bool flat_shade;
bool samples;
bool force_dual_color_blend;
};