diff options
author | Marc-André Lureau <[email protected]> | 2017-02-09 18:41:11 +0400 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-02-10 11:14:23 +0000 |
commit | 32d0dc50a07e88aef69754820a42b13054ccfa11 (patch) | |
tree | 341259c9b42dc3b6066f55ec9e2c5b30e760ee38 /src/gallium/drivers/radeon/r600_buffer_common.c | |
parent | 8ca2e38abbb13942705c64a213adda5683c8dec8 (diff) |
tgsi-dump: dump label if instruction has one
The instruction has an associated label when Instruction.Label == 1,
as can be seen in ureg_emit_label() or tgsi_build_full_instruction().
This fixes dump generating extra :0 labels on conditionals, and virgl
parsing more than the expected tokens and eventually reaching "Illegal
command buffer" (when parsing more than a safety margin of 10 we
currently have).
Signed-off-by: Marc-André Lureau <[email protected]>
Cc: "13.0 17.0" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit dc2d9b8da14b97376cca9c87e2408763b11bdaa7)
Diffstat (limited to 'src/gallium/drivers/radeon/r600_buffer_common.c')
0 files changed, 0 insertions, 0 deletions