i965/vs: Run the shader backend at link time and return compile failures.
authorEric Anholt <eric@anholt.net>
Thu, 11 Aug 2011 16:52:08 +0000 (09:52 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Aug 2011 20:04:43 +0000 (13:04 -0700)
commit7fbe7fe13359d3f349664410ec73d7bd48824ed6
tree7cd619798847cafa2ae1fd0558b73e80807951f1
parentd376fa8e84b044ead47586d1b56a10742bcbdac7
i965/vs: Run the shader backend at link time and return compile failures.

Link failure is something that shouldn't happen, but we sometimes want
it during development.  The precompile also allows analysis of shader
codegen with shader-db.
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs.h