i915g: Don't overflow the program buffer.
authorStéphane Marchesin <marcheu@chromium.org>
Wed, 29 Jun 2011 03:36:35 +0000 (20:36 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Wed, 29 Jun 2011 03:42:38 +0000 (20:42 -0700)
commitc66877c29034af411b06f1f1d1e17b6c048ac38d
treea0a418f136ed2016ce18f954d9a0bbbbfb15e26b
parentdd691032c8bf6ec7ad78d928209cfd5e751c7ea3
i915g: Don't overflow the program buffer.

Otherwise it corrupts other fields of the struct and hilarity ensues.
src/gallium/drivers/i915/i915_fpc_emit.c