Mesa (10.3): i965: Add 2x MSAA support to Broadwell fast clear code.
Emil Velikov
evelikov at kemper.freedesktop.org
Mon Sep 1 00:17:32 UTC 2014
Module: Mesa
Branch: 10.3
Commit: 8ef3d4fe03de1b370e255a3c900719a8cce59599
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8ef3d4fe03de1b370e255a3c900719a8cce59599
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Aug 29 15:15:43 2014 -0700
i965: Add 2x MSAA support to Broadwell fast clear code.
According to the cited documentation section (but in the newer docs),
x_scaledown is the same for 2x and 4x MSAA.
+47 piglits.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83081
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Cc: "10.3" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit e34a363a781a24b2cf6930c4d37f781ffec8a19a)
---
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
index 4fb20d7..aa3a60d 100644
--- a/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_meta_fast_clear.c
@@ -282,6 +282,7 @@ get_fast_clear_rect(struct brw_context *brw, struct gl_framebuffer *fb,
* factor is 2 vertically and either 2 or 8 horizontally.
*/
switch (irb->mt->num_samples) {
+ case 2:
case 4:
x_scaledown = 8;
break;
More information about the mesa-commit
mailing list