OSDN Git Service

mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Dec 2008 02:01:34 +0000 (19:01 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 18 Dec 2008 02:05:26 +0000 (19:05 -0700)
commitf9c76750a7687e9902f2efd91d5551ae0128003c
tree3befe541b2835792d2cc4e6c837881e11326b2f2
parentb890fffbf4ad435ef533988d288e98b0bfe4d17b
mesa: choose GLSL vertex shader over ARB/internal vertex program in get_fp_input_mask()

This is a work-around the for the fact that we do fragment shader state
validation before vertex shader validation (see comments in state.c) so in
get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to
date yet.

This fixes a glean glsl1 test failure.
src/mesa/main/texenvprogram.c