ソースを参照

intel: Set the region's tiling to none when attaching a PBO to a region.

Note that when detaching the PBO from the region and making a new BO
for the region, we don't make it tiled even if the region originally
was.

Fixes piglit pbo-teximage-tiling.
tags/7.8-rc1
Eric Anholt 15年前
コミット
f20e83210e
1個のファイルの変更1行の追加0行の削除
  1. 1
    0
      src/mesa/drivers/dri/intel/intel_regions.c

+ 1
- 0
src/mesa/drivers/dri/intel/intel_regions.c ファイルの表示

@@ -442,6 +442,7 @@ intel_region_attach_pbo(struct intel_context *intel,
region->pbo->region = region;
dri_bo_reference(buffer);
region->buffer = buffer;
region->tiling = I915_TILING_NONE;
}



読み込み中…
キャンセル
保存