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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64cebb6c8339f515ff8acb7c34fd0615b0e34a19;p=mesa.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 f97cf369742..e5d07f6c771 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;