mesa: Use uniform interfaces in fixed-function fragment shader code
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 14 Nov 2011 22:32:39 +0000 (14:32 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 11 Jan 2012 20:51:23 +0000 (12:51 -0800)
commitf409a710e3562856a53a3b43ed526b877639a27c
tree888cdbd4b6e401600acd4cdaa89fc3fe5b708d2b
parent151b4f336934d283961e28e111aa30544e3ceb50
mesa: Use uniform interfaces in fixed-function fragment shader code

Poking directly at the backing resources works only by luck.  Core
Mesa code should only know about the gl_uniform_storage structure.
Soon other code that looks at samplers will use the gl_uniform_storage
structures instead of the data in the gl_program.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/ff_fragment_shader.cpp