i965/fs: Do a FS compile up front at link time to produce link errors.
authorEric Anholt <eric@anholt.net>
Mon, 16 May 2011 22:10:26 +0000 (15:10 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 May 2011 16:07:32 +0000 (09:07 -0700)
commit8752764076e5b3f052a57e0134424a37bf2e9164
tree7855a121c8669c0330d0577ea4d0caa92a3a45f7
parentd1f70a8a6c6ec7007bad22d3d6013415be2d243a
i965/fs: Do a FS compile up front at link time to produce link errors.

At glLinkShaders time, a fail() call in FS compile in 8-wide (the one
that's required to succeed, though we may relax that at some point for
pre-Ironlake performance) will now report out as a link error.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h