diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-10 09:27:36 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-03-15 12:43:12 +0000 |
commit | 9c6f79440e8af9f264e3f6270384064dc1f44721 (patch) | |
tree | 53d0905a4050cd8fdc4372a7748b89bc80b3e588 /src/i915_render.c | |
parent | 219467ac8bfab98bca82108b22eae8af3fc0bf36 (diff) |
uxa: Remove unused tracking of the current render target
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i915_render.c')
-rw-r--r-- | src/i915_render.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/i915_render.c b/src/i915_render.c index 9d8b8ac8..ea203229 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -899,7 +899,7 @@ static void i915_emit_composite_setup(ScrnInfoPtr scrn) * XXX However for reasons unfathomed, correct rendering in KDE requires * at least a MI_FLUSH | INHIBIT_RENDER_CACHE_FLUSH here. */ - if (1 || dest != intel->render_current_dest) { + if (1) { uint32_t tiling_bits; if (intel_pixmap_tiled(dest)) { @@ -927,8 +927,6 @@ static void i915_emit_composite_setup(ScrnInfoPtr scrn) DRAW_XMAX(dest->drawable.width - 1)); /* yorig, xorig (relate to color buffer?) */ OUT_BATCH(0x00000000); - - intel->render_current_dest = dest; } { @@ -1052,6 +1050,5 @@ void i915_batch_commit_notify(intel_screen_private *intel) { intel->needs_render_state_emit = TRUE; - intel->render_current_dest = NULL; intel->last_floats_per_vertex = 0; } |