[Mesa-dev] [PATCH 4/5] Enable NV_fog_distance for Gallium drivers

Nicholas Miell nmiell at gmail.com
Mon Sep 19 02:48:39 PDT 2011


The fixed-function generated vertex program is all that's needed for
Gallium drivers.
---
 src/mesa/state_tracker/st_extensions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 722db8d..9266eec 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -296,6 +296,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;
-- 
1.7.6.2



More information about the mesa-dev mailing list