radeonsi: print all flags in si_dump_shader_key
authorMarek Olšák <marek.olsak@amd.com>
Mon, 14 Nov 2016 00:53:24 +0000 (01:53 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 21 Nov 2016 20:44:35 +0000 (21:44 +0100)
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c

index a3388bdc571b87f2d6c368c2e9e07a972bdb4c26..6d3365ce252a1157f1fefb1b16d21c7988f8f66a 100644 (file)
@@ -6244,10 +6244,12 @@ static void si_dump_shader_key(unsigned shader, struct si_shader_key *key,
                fprintf(f, "  part.vs.epilog.export_prim_id = %u\n", key->part.vs.epilog.export_prim_id);
                fprintf(f, "  as_es = %u\n", key->as_es);
                fprintf(f, "  as_ls = %u\n", key->as_ls);
+               fprintf(f, "  mono.vs.fix_fetch = 0x%x\n", key->mono.vs.fix_fetch);
                break;
 
        case PIPE_SHADER_TESS_CTRL:
                fprintf(f, "  part.tcs.epilog.prim_mode = %u\n", key->part.tcs.epilog.prim_mode);
+               fprintf(f, "  mono.tcs.inputs_to_copy = 0x%"PRIx64"\n", key->mono.tcs.inputs_to_copy);
                break;
 
        case PIPE_SHADER_TESS_EVAL:
@@ -6256,6 +6258,9 @@ static void si_dump_shader_key(unsigned shader, struct si_shader_key *key,
                break;
 
        case PIPE_SHADER_GEOMETRY:
+               fprintf(f, "  part.gs.prolog.tri_strip_adj_fix = %u\n", key->part.gs.prolog.tri_strip_adj_fix);
+               break;
+
        case PIPE_SHADER_COMPUTE:
                break;