mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
v3d: add debug assert
While lowering vpm outputs we look for the NIR variables matching particular store output instructions and we expect to find a match, so assert on that. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
6e68f74395
commit
d6b0786a38
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ v3d_nir_lower_vpm_output(struct v3d_compile *c, nir_builder *b,
|
|||
}
|
||||
var = scan_var;
|
||||
}
|
||||
assert(var);
|
||||
|
||||
/* Save off the components of the position for the setup of VPM inputs
|
||||
* read by fixed function HW.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue