freedreno/ir3: number instructions from one
ra_block_compute_live_ranges() treats zero as "not yet defined", so probably best to not let this be a valid instruction # Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3569>
This commit is contained in:
parent
0f78c32492
commit
4a7a6c9ef0
|
@ -1105,7 +1105,7 @@ ir3_clear_mark(struct ir3 *ir)
|
|||
unsigned
|
||||
ir3_count_instructions(struct ir3 *ir)
|
||||
{
|
||||
unsigned cnt = 0;
|
||||
unsigned cnt = 1;
|
||||
foreach_block (block, &ir->block_list) {
|
||||
block->start_ip = cnt;
|
||||
block->end_ip = cnt;
|
||||
|
|
Loading…
Reference in New Issue