From: Nicholas Miell Date: Tue, 20 Sep 2011 06:17:01 +0000 (-0700) Subject: st/mesa: Enable NV_fog_distance for Gallium drivers X-Git-Tag: mesa-8.0-rc1~1339 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64cebb6c8339f515ff8acb7c34fd0615b0e34a19;p=platform%2Fupstream%2Fmesa.git st/mesa: Enable NV_fog_distance for Gallium drivers The fixed-function generated vertex program is all that's needed for Gallium drivers. --- diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index f97cf36..e5d07f6 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -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;