diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-28 23:24:42 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-28 23:28:10 +0100 |
commit | 72b2733287ee89916d6180becf65ff3b45d5a23a (patch) | |
tree | d80c809a1e3886b5c824e831f1f05b2b2b4d06fa /src/gallium/winsys/drm/intel/gem/intel_be_context.c | |
parent | 1642dd2f86938242bfa8293323daaaf64573976f (diff) |
i915: Add verbose debuging
Only enabled while in development this commit
will be reverted in the future.
Diffstat (limited to 'src/gallium/winsys/drm/intel/gem/intel_be_context.c')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_context.c | 7 |
1 files changed, 5 insertions, 2 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 3e472e1e43..056a5f0502 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_context.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_context.c @@ -29,15 +29,18 @@ intel_be_batch_reloc(struct i915_winsys *sws, } if (access_flags & I915_BUFFER_ACCESS_READ) { - read = I915_GEM_DOMAIN_SAMPLER | - I915_GEM_DOMAIN_VERTEX; + read = I915_GEM_DOMAIN_VERTEX; } + debug_printf("%s\n", __FUNCTION__); + debug_printf(" - flags: %u, read: %u, write: %u, delta: %p\n", access_flags, read, write, delta); ret = intel_be_offset_relocation(intel->batch, delta, bo, read, write); + debug_printf(" - ret = %i\n", ret); + assert(ret == 0); /* TODO change return type */ /* return ret; */ } |