i965: Pad buffer objects by 2kB in robust contexts to avoid OOB access.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 3 Jun 2017 18:46:15 +0000 (11:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 14 Jul 2017 02:56:49 +0000 (19:56 -0700)
commit6834b1ebe34aaa4b65e342556894e88826c839da
treecc6dbe1cf6b36408277bac3693a76ad33fc1c00e
parent67fec964525a88c975902bdfb4078d722d4f04bf
i965: Pad buffer objects by 2kB in robust contexts to avoid OOB access.

This is an annoyingly big hammer, but it seems less mean than disabling
UBO pushing, and I'm not sure what else to do.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_buffer_objects.c