diff options
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index e6795bac97a6..0878017f60d7 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -2067,6 +2067,7 @@ static LLVMValueRef visit_load_var(struct ac_nir_context *ctx, unsigned const_index, vertex_index; get_deref_offset(ctx, deref, false, &vertex_index, NULL, &const_index, &indir_index); + assert(indir_index == NULL); return ctx->abi->load_inputs(ctx->abi, var->data.location, var->data.driver_location, |