llvmpipe/fs: add missing depth_clamp key printing

Helps debugging shaders better.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15385>
This commit is contained in:
Dave Airlie
2022-03-15 05:22:54 +10:00
committed by Marge Bot
parent 1b2c4d7196
commit c6ac3e017d

View File

@@ -3394,6 +3394,9 @@ dump_fs_variant_key(struct lp_fragment_shader_variant_key *key)
if (key->flatshade) {
debug_printf("flatshade = 1\n");
}
if (key->depth_clamp)
debug_printf("depth_clamp = 1\n");
if (key->multisample) {
debug_printf("multisample = 1\n");
debug_printf("coverage samples = %d\n", key->coverage_samples);