[Mesa-dev] [PATCH 2/5] tgsi: also dump label for TGSI_OPCODE_BGNSUB opcode
Jose Fonseca
jfonseca at vmware.com
Tue Apr 14 13:22:43 PDT 2015
On 14/04/15 17:56, Brian Paul wrote:
> So we can see the label associated with subroutines.
> ---
> src/gallium/auxiliary/tgsi/tgsi_dump.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c
> index 7ae4049..13d6769 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c
> +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c
> @@ -606,6 +606,7 @@ iter_instruction(
> case TGSI_OPCODE_BGNLOOP:
> case TGSI_OPCODE_ENDLOOP:
> case TGSI_OPCODE_CAL:
> + case TGSI_OPCODE_BGNSUB:
> TXT( " :" );
> UID( inst->Label.Label );
> break;
>
Patches 2-5 look good AFAICT.
Jose
More information about the mesa-dev
mailing list