diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-08 23:44:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-08 23:44:45 +0000 |
commit | 0cf04ea4d736f7d7848f33b772d88a0f1b6678b1 (patch) | |
tree | 9cb95e00a64b1846df6e94552ddd5c5195d0e851 | |
parent | 417ad2712edcbca635eb5eeff0d11cdb16c069ed (diff) |
i965: Set src_filter before testing.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/i965_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 10ed5617..e79ac042 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1469,6 +1469,8 @@ i965_prepare_composite(int op, PicturePtr source_picture, uint32_t *binding_table; drm_intel_bo *binding_table_bo, *surface_state_bo; + composite_op->src_filter = + sampler_state_filter_from_picture(source_picture->filter); if (composite_op->src_filter < 0) { intel_debug_fallback(scrn, "Bad src filter 0x%x\n", source_picture->filter); @@ -1572,8 +1574,6 @@ i965_prepare_composite(int op, PicturePtr source_picture, intel->render_dest = dest; drm_intel_bo_unreference(composite_op->binding_table_bo); composite_op->binding_table_bo = binding_table_bo; - composite_op->src_filter = - sampler_state_filter_from_picture(source_picture->filter); intel->scale_units[0][0] = source->drawable.width; intel->scale_units[0][1] = source->drawable.height; |