summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-08-06 00:00:24 +0100
committerJakob Bornecrantz <[email protected]>2009-08-06 00:52:13 +0100
commit901b87547e50fae25722fdf5dee216d809a0d453 (patch)
tree656f5d8aa3e5a436f9e5d890711e34a318db7d79
parent7a20f50c602b31af0adc50c23bf310cbdb5bcc94 (diff)
i915g: The i915 seems more happier with sampler domain so lets use that
-rw-r--r--src/gallium/winsys/drm/intel/gem/intel_be_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_context.c b/src/gallium/winsys/drm/intel/gem/intel_be_context.c
index db84f9af514..629987c6f92 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_be_context.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_be_context.c
@@ -36,7 +36,7 @@ intel_be_batch_reloc(struct i915_winsys *sws,
}
if (access_flags & I915_BUFFER_ACCESS_READ) {
- read |= I915_GEM_DOMAIN_VERTEX;
+ read |= I915_GEM_DOMAIN_SAMPLER;
}
ret = intel_be_offset_relocation(intel->batch,