i915: Bail when the fragment program has too many total instructions.
authorEric Anholt <eric@anholt.net>
Thu, 30 Jul 2009 05:39:15 +0000 (22:39 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 Oct 2009 21:31:03 +0000 (14:31 -0700)
commit4ff816751f74b0645c198372937eec589c458a60
treed12c9a5859521d28a8976ecbea08a924d053ec28
parent994d1db079b4947e6f10ab22a4b366a676382345
i915: Bail when the fragment program has too many total instructions.

Previously, we'd go trashing the heap.
src/mesa/drivers/dri/i915/i915_program.c