i915g: The i915 seems more happier with sampler domain so lets use that
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 5 Aug 2009 23:00:24 +0000 (00:00 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Wed, 5 Aug 2009 23:52:13 +0000 (00:52 +0100)
src/gallium/winsys/drm/intel/gem/intel_be_context.c

index db84f9af514badec275a7167f4e59ae3012f6ad2..629987c6f926956e693429eb9a296850da581fd3 100644 (file)
@@ -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,