This fixes a warning about mismatched types.
Signed-off-by: Dave Airlie <airlied@redhat.com>
surf->htile_enabled = 0;
/* use htile only for first level */
if (rtex->htile && !level) {
- uint64_t va = r600_resource_va(rctx->screen, rtex->htile);
+ uint64_t va = r600_resource_va(&rctx->screen->screen, &rtex->htile->b.b);
surf->htile_enabled = 1;
surf->db_htile_data_base = va >> 8;
surf->db_htile_surface = S_028ABC_HTILE_WIDTH(1) |
surf->htile_enabled = 0;
/* use htile only for first level */
if (rtex->htile && !level) {
- uint64_t va = r600_resource_va(rctx->screen, rtex->htile);
+ uint64_t va = r600_resource_va(&rctx->screen->screen, &rtex->htile->b.b);
surf->htile_enabled = 1;
surf->db_htile_data_base = va >> 8;
surf->db_htile_surface = S_028D24_HTILE_WIDTH(1) |