From: Marek Olšák Date: Mon, 21 Nov 2016 19:57:05 +0000 (+0100) Subject: radeonsi: print new opt flags in si_dump_shader_key X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76e953788a77220d5de9a44c287e2849a42e4ffc;p=mesa.git radeonsi: print new opt flags in si_dump_shader_key Reviewed-by: Edward O'Callaghan Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index abe30e54a58..6228a68cdcc 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6332,6 +6332,15 @@ static void si_dump_shader_key(unsigned shader, struct si_shader_key *key, default: assert(0); } + + if ((shader == PIPE_SHADER_GEOMETRY || + shader == PIPE_SHADER_TESS_EVAL || + shader == PIPE_SHADER_VERTEX) && + !key->as_es && !key->as_ls) { + fprintf(f, " opt.hw_vs.kill_outputs = 0x%"PRIx64"\n", key->opt.hw_vs.kill_outputs); + fprintf(f, " opt.hw_vs.kill_outputs2 = 0x%x\n", key->opt.hw_vs.kill_outputs2); + fprintf(f, " opt.hw_vs.clip_disable = %u\n", key->opt.hw_vs.clip_disable); + } } static void si_init_shader_ctx(struct si_shader_context *ctx,