mesa: Fix debug logging of fp compile compare func.

When we're doing COMPARE_FUNC_ALWAYS, that's not part of a shader
precompile miss.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22928>
This commit is contained in:
Emma Anholt 2023-05-09 12:21:35 -07:00 committed by Marge Bot
parent 3cfdcabc78
commit 63f8964d5a

View file

@ -1126,7 +1126,7 @@ st_get_fp_variant(struct st_context *st,
key->fog ? "fog," : "",
key->lower_two_sided_color ? "twoside," : "",
key->lower_flatshade ? "flatshade," : "",
key->lower_alpha_func ? "alpha_compare," : "",
key->lower_alpha_func != COMPARE_FUNC_ALWAYS ? "alpha_compare," : "",
/* skipped ATI_fs targets */
fp->ExternalSamplersUsed ? "external?," : "",
key->gl_clamp[0] || key->gl_clamp[1] || key->gl_clamp[2] ? "GL_CLAMP," : "",