freedreno/ir3: add assert
Catch problems earlier when inputs are not setup correctly. Signed-off-by: Rob Clark <robdclark@chromium.org> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
This commit is contained in:
@@ -1540,6 +1540,7 @@ emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr)
|
||||
* nir_variable to figure out what it is.
|
||||
*/
|
||||
dst[i] = ctx->inputs[inloc];
|
||||
compile_assert(ctx, dst[i]);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user