st/mesa: Enable NV_fog_distance for Gallium drivers
authorNicholas Miell <nmiell@gmail.com>
Tue, 20 Sep 2011 06:17:01 +0000 (23:17 -0700)
committerMarek Olšák <maraeo@gmail.com>
Tue, 1 Nov 2011 10:37:11 +0000 (11:37 +0100)
The fixed-function generated vertex program is all that's needed for
Gallium drivers.

src/mesa/state_tracker/st_extensions.c

index f97cf369742711eb374bb3f3e43ad43706b4e6d8..e5d07f6c7714abfec6fb9fa369cc442767070ad0 100644 (file)
@@ -291,6 +291,7 @@ void st_init_extensions(struct st_context *st)
    ctx->Extensions.MESA_pack_invert = GL_TRUE;
 
    ctx->Extensions.NV_blend_square = GL_TRUE;
+   ctx->Extensions.NV_fog_distance = GL_TRUE;
    ctx->Extensions.NV_texgen_reflection = GL_TRUE;
    ctx->Extensions.NV_texture_env_combine4 = GL_TRUE;
    ctx->Extensions.NV_texture_rectangle = GL_TRUE;