Module: Mesa
Branch: asm-shader-rework-3
Commit: 78bea8deaf85827809ee63fddf3f992a2c0b691c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=78bea8deaf85827809ee63fddf3f992a2c0b691c

Author: Ian Romanick <[email protected]>
Date:   Thu Oct  1 15:28:51 2009 -0700

NV vp3 parser: Enable texture rectangles with NV_vp3

---

 src/mesa/shader/program_parse_extra.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/shader/program_parse_extra.c 
b/src/mesa/shader/program_parse_extra.c
index 8126fae..70e6bfa 100644
--- a/src/mesa/shader/program_parse_extra.c
+++ b/src/mesa/shader/program_parse_extra.c
@@ -214,6 +214,8 @@ _mesa_ARBvp_parse_option(struct asm_parser_state *state, 
const char *option)
         if (state->ctx->Extensions.NV_vertex_program3) {
            state->option.NV_vertex2 = 1;
            state->option.NV_vertex3 = 1;
+           state->option.TexRect =
+              (state->ctx->Extensions.NV_texture_rectangle != GL_FALSE);
            return 1;
         }
       }

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to