[Mesa-dev] [PATCH] st/dri: remove GALLIUM_MSAA and __GL_FSAA_MODE environment variables

Michel Dänzer michel at daenzer.net
Wed Sep 17 08:01:07 PDT 2014


On 17.09.2014 22:02, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Some users don't understand that these variables can break OpenGL.
> The general is rule is that if an app supports MSAA, you mustn't use
> GALLIUM_MSAA.
>
> For example, if an app has an 8xMSAA FBO and GALLIUM_MSAA=4
> is set, resolving the FBO to the back buffer will be rejected which will look
> like this on all gallium drivers:
>
> http://www.phoronix.com/scan.php?page=article&item=amd_radeonsi_msaa
>
> The environment variables also have no effect on modern apps like TF2, but
> there is still a performance hit due to wasted bandwidth and VRAM.
>
> In a nutshell, it does more harm than good.
>
> Cc: 10.2 10.3 <mesa-stable at lists.freedesktop.org>

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the mesa-dev mailing list