Mesa (master): i965/msaa: Remove comment about falsely claiming to support MSAA.

Paul Berry stereotype441 at kemper.freedesktop.org
Tue Jul 24 22:22:55 UTC 2012


Module: Mesa
Branch: master
Commit: 4afee38a2f2f9d0aedc02f1d7ba9b780914fce27
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4afee38a2f2f9d0aedc02f1d7ba9b780914fce27

Author: Paul Berry <stereotype441 at gmail.com>
Date:   Mon Jul  9 16:23:26 2012 -0700

i965/msaa: Remove comment about falsely claiming to support MSAA.

Gen6+ hardware now supports MSAA properly.

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

---

 src/mesa/drivers/dri/i965/brw_context.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 5a109e3..62b28be 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -154,11 +154,6 @@ brwCreateContext(int api,
    ctx->Const.MaxTransformFeedbackSeparateComponents =
       BRW_MAX_SOL_BINDINGS / BRW_MAX_SOL_BUFFERS;
 
-   /* Claim to support 4 multisamples, even though we don't.  This is a
-    * requirement for GL 3.0 that we missed until the last minute.  Go ahead and
-    * claim the limit, so that usage of the 4 multisample-based API that is
-    * guaranteed in 3.0 succeeds, even though we only rasterize a single sample.
-    */
    if (intel->gen >= 6)
       ctx->Const.MaxSamples = 4;
 




More information about the mesa-commit mailing list