[Mesa-dev] [PATCH v6 0/4] Implement Various Conservative Rasterization Extensions

Brian Paul brianp at vmware.com
Fri Apr 27 15:27:04 UTC 2018


On 04/27/2018 08:43 AM, Rhys Perry wrote:
> This patch-set adds support for GL_NV_conservative_raster and
> GL_NV_conservative_raster_dilate on GM2xx and newer. It also adds support for
> GL_NV_conservative_raster_pre_snap_triangles on GP1xx.
> 
> In doing so, it implements various functions in mesa core, extends the Gallium
> API, connects the new mesa core functions and the Gallium API through st/mesa
> and implements support for the Gallium API in the Nouveau driver.

I'm seeing some gcc warnings:

../../../src/mesa/main/conservativeraster.c: In function 
‘conservative_raster_parameter’:
../../../src/mesa/main/conservativeraster.c:43:7: warning: format not a 
string literal and no format arguments [-Wformat-security]
        _mesa_error(ctx, GL_INVALID_OPERATION, func);
        ^
../../../src/mesa/main/conservativeraster.c:56:10: warning: format not a 
string literal and no format arguments [-Wformat-security]
           _mesa_error(ctx, GL_INVALID_OPERATION, func);
           ^
../../../src/mesa/main/conservativeraster.c:71:10: warning: format not a 
string literal and no format arguments [-Wformat-security]
           _mesa_error(ctx, GL_INVALID_OPERATION, func);
           ^

-Brian


More information about the mesa-dev mailing list