r300: don't modify original vertex program
authorMaciej Cencora <m.cencora@gmail.com>
Fri, 3 Jul 2009 18:06:23 +0000 (20:06 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 13 Jul 2009 17:25:57 +0000 (19:25 +0200)
commitbce224c1f108e6c8131dfc953ef607689b83ae7e
tree3d3558c60810b9f2f55cba2fb1b45b0f0756d962
parent7829b7a1b85dd8e6c31189e7f3dec91d71d134c3
r300: don't modify original vertex program

Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program.
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_shader.c
src/mesa/drivers/dri/r300/r300_vertprog.c