diff options
author | Marek Olšák <[email protected]> | 2016-11-21 20:57:05 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-11-23 18:49:10 +0100 |
commit | 76e953788a77220d5de9a44c287e2849a42e4ffc (patch) | |
tree | deefb08d22fe1a919de54c83f296697faa130ab4 /src/gallium/drivers | |
parent | e5302ad9365844d86ae84df7dcf561c2f2174dc3 (diff) |
radeonsi: print new opt flags in si_dump_shader_key
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 9 |
1 files changed, 9 insertions, 0 deletions
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, |