i915: Derive the gl_fragment_program from i915_fragment_program.
authorHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Mar 2011 20:15:03 +0000 (21:15 +0100)
committerHenri Verbeet <hverbeet@gmail.com>
Mon, 7 Mar 2011 20:48:21 +0000 (21:48 +0100)
commita99b23752b0182c64ebe1dc9c18ab821550771ff
treef5613748dee3e586ff41736af2d8b7c94d8f5805
parentc3c91a0fe5e9a497c44481bcd072093e6edaac50
i915: Derive the gl_fragment_program from i915_fragment_program.

Instead of using the current gl_fragment_program. These aren't necessarily
the same, for example when translate_program() is called by
i915ValidateFragmentProgram().
src/mesa/drivers/dri/i915/i915_fragprog.c