瀏覽代碼

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>
master
Iago Toral Quiroga 7 年之前
父節點
當前提交
d6b0786a38
共有 1 個檔案被更改,包括 1 行新增 和 0 行删除
  1. 1
    0
      src/broadcom/compiler/v3d_nir_lower_io.c

+ 1
- 0
src/broadcom/compiler/v3d_nir_lower_io.c 查看文件

@@ -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…
取消
儲存