diff options
author | Jakob Bornecrantz <[email protected]> | 2009-01-29 02:32:58 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-01-29 03:00:15 +0100 |
commit | 3b1b9f3cc70392bd1abb76e78a28db15bfbbbe85 (patch) | |
tree | 357bb8d43129da9c4ed53b51d684dd47f7527fe5 /src/gallium/winsys | |
parent | 178f991208680bea141e6b13c169ca84b703df36 (diff) |
intel: Set render domain on read and write
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_context.c | 3 |
1 files changed, 2 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 056a5f05029..c1f18a3a04d 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_context.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_context.c @@ -26,10 +26,11 @@ intel_be_batch_reloc(struct i915_winsys *sws, if (access_flags & I915_BUFFER_ACCESS_WRITE) { write = I915_GEM_DOMAIN_RENDER; + read = I915_GEM_DOMAIN_RENDER; } if (access_flags & I915_BUFFER_ACCESS_READ) { - read = I915_GEM_DOMAIN_VERTEX; + read |= I915_GEM_DOMAIN_VERTEX; } debug_printf("%s\n", __FUNCTION__); |