projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9886d5
)
intel: Set the region's tiling to none when attaching a PBO to a region.
author
Eric Anholt
<eric@anholt.net>
Thu, 28 Jan 2010 18:53:04 +0000
(10:53 -0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 28 Jan 2010 18:55:25 +0000
(10:55 -0800)
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.
src/mesa/drivers/dri/intel/intel_regions.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_regions.c
b/src/mesa/drivers/dri/intel/intel_regions.c
index f415589c5da75de961f98d82d894d997ffe31a0a..301c3df17cf10d17a776a96daaf72da0b6964840 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_regions.c
+++ b/
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;
}