aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-13 10:45:35 -0800
committerEric Anholt <[email protected]>2014-02-18 10:01:45 -0800
commit4e0924c5de5f3964e4ca81f923d877dbb59fad0a (patch)
treee9af3ff446a6e9c3b87f82db7c2b075d895ca826 /src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
parent019560c127778dc3b08bdc7c3acdc68dbbb80ea0 (diff)
i965: Move singlesample_mt to the renderbuffer.
Since only window system renderbuffers can have a singlesample_mt, this lets us drop a bunch of sanity checking to make sure that we're just a renderbuffer-like thing. v2: Fix a badly-written comment (thanks Kenneth!), drop the now trivial helper function for set_needs_downsample. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp_blit.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp_blit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
index 0aeb651cefd..39a15edfd8f 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
@@ -193,7 +193,7 @@ do_blorp_blit(struct brw_context *brw, GLbitfield buffer_bit,
dstX0, dstY0, dstX1, dstY1,
filter, mirror_x, mirror_y);
- intel_renderbuffer_set_needs_downsample(dst_irb);
+ dst_irb->need_downsample = true;
}
static bool