diff options
author | Younes Manton <[email protected]> | 2009-12-06 16:44:11 -0500 |
---|---|---|
committer | Younes Manton <[email protected]> | 2009-12-06 16:44:11 -0500 |
commit | 447dddb93d8dc2551ef7a9c43004237c7a8dd2dd (patch) | |
tree | de18c6e4c2b071923345bcc1fa876459c4148a70 /src/gallium/drivers/i915/i915_context.c | |
parent | 9e8ab2e7c1b8ff5279d4247b8690c9bfc57f7e02 (diff) | |
parent | c574f515f0aa20ccc3841cf61a6124bc5996e7b2 (diff) |
Merge branch 'master' into pipe-video
Conflicts:
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h
src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c
src/gallium/auxiliary/vl/vl_shader_build.c
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_context.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c index e745f3342d1..94c8aee30fe 100644 --- a/src/gallium/drivers/i915/i915_context.c +++ b/src/gallium/drivers/i915/i915_context.c @@ -155,15 +155,11 @@ static unsigned int i915_is_buffer_referenced(struct pipe_context *pipe, struct pipe_buffer *buf) { - /** - * FIXME: Return the corrent result. We can't alays return referenced - * since it causes a double flush within the vbo module. + /* + * Since we never expose hardware buffers to the state tracker + * they can never be referenced, so this isn't a lie */ -#if 0 - return PIPE_REFERENCED_FOR_READ | PIPE_REFERENCED_FOR_WRITE; -#else return 0; -#endif } |