projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fadd5e1
)
st/mesa: Enable NV_fog_distance for Gallium drivers
author
Nicholas Miell
<nmiell@gmail.com>
Tue, 20 Sep 2011 06:17:01 +0000
(23:17 -0700)
committer
Marek 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
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index f97cf369742711eb374bb3f3e43ad43706b4e6d8..e5d07f6c7714abfec6fb9fa369cc442767070ad0 100644
(file)
--- 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;