diff options
author | Marek Olšák <[email protected]> | 2017-04-07 21:38:09 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-28 21:47:35 +0200 |
commit | dcea7e5d196bea313aee955311300162811837b2 (patch) | |
tree | 0916e551c02a1fad29c409407c05963fb42b3f53 /src/gallium/drivers/radeonsi/si_debug.c | |
parent | eb35238ffe55eb27930419acf0e145281ea3db9c (diff) |
radeonsi: add si_shader::prolog2
For a GS prolog in merged ES-GS.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 038c8b47931..9634901e709 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -643,6 +643,10 @@ static void si_print_annotated_shader(struct si_shader *shader, si_add_split_disasm(shader->previous_stage->binary.disasm_string, start_addr, &num_inst, instructions); } + if (shader->prolog2) { + si_add_split_disasm(shader->prolog2->binary.disasm_string, + start_addr, &num_inst, instructions); + } si_add_split_disasm(shader->binary.disasm_string, start_addr, &num_inst, instructions); if (shader->epilog) { |