mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program
authorEric Anholt <eric@anholt.net>
Wed, 12 Jan 2011 20:27:12 +0000 (12:27 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 11 Mar 2011 20:55:14 +0000 (12:55 -0800)
commitb4452c3baad6e0379eeb7f22f2e51d13999e1323
treee8e539bcb32ab63d81cd030d7625eb0e140a28cb
parent7cb87dffce2c7a37f960f3a865cf92fd193dd8c5
mesa: Track a computed _CurrentFragmentProgram for current gl_shader_program

This is like how we track FragmentProgram._Current for the computed
ARB fragment program for fixed function texenv, but this gives direct
access to the gl_shader_program for drivers to codegen from, skipping
ARB_fp.
src/mesa/main/mtypes.h
src/mesa/main/state.c