i965: Reduce maximum GL_ARB_fragment_program instruction count to 1024.
authorEric Anholt <eric@anholt.net>
Fri, 21 Sep 2012 14:04:52 +0000 (16:04 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 8 Oct 2012 15:38:49 +0000 (08:38 -0700)
commit014aaa97d3d7f78629e6e030953be0e9fb7f33dd
tree304e6d29e8c5048dcb20fa1a37474c3bc11a6a32
parent9cfc00a84c7a7176a385808e0b92705e79955505
i965: Reduce maximum GL_ARB_fragment_program instruction count to 1024.

I don't know of any programs that would need more than this.  The larger
programs I've seen have neared 100 instructions.  This prevent excessive
runtimes of automatic tests that attempt to test up to the exposed maximums
(like fp-long-alu).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c