Skip to content
Snippets Groups Projects
Commit 664cc248 authored by Iago Toral's avatar Iago Toral Committed by Eric Engestrom
Browse files

broadcom/compiler: fix assert that current instruction must be in current block


This was not considering the possibility that the driver has called
nir_before_block() or nir_after_block() to update the cursor, in which
case the cursor link points to the instruction list header and not
to an actual instruction.

Fixes incorrect debug-assert crash in:
dEQP-VK.graphicsfuzz.cov-increment-vector-component-with-matrix-copy

Fixes: 265515fa ("broadcom/compiler: check instruction belongs to current block")
Reviewed-by: default avatarJuan A. Suarez <jasuarez@igalia.com>
Part-of: <!13467>
(cherry picked from commit 1561d012)
parent fa24bfb9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment