i965: Reject shaders with uninlined function calls instead of hanging.
authorEric Anholt <eric@anholt.net>
Thu, 29 Apr 2010 20:35:56 +0000 (13:35 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 29 Apr 2010 20:37:27 +0000 (13:37 -0700)
commitee29b861298bd165e6b104b218f31c78aed3682a
tree0ea0c8424dea635aaf9c19cf096af100b92aed69
parent07a248a3664e4cd63c98ff3478bdd9b1e45c1398
i965: Reject shaders with uninlined function calls instead of hanging.

Most of the failure from using uninlined function calls ends up being
just bad rendering, but nested function calls in the VS currently hang
the GPU, so reject them and explain why.
src/mesa/drivers/dri/i965/brw_program.c