i965/blorp: Reduce the size of vertex buffer
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 19 Apr 2016 16:57:43 +0000 (19:57 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 07:20:03 +0000 (10:20 +0300)
commit26fdb7e51e9f6b407ad8c635850ccffbd01876bc
tree9714a35382cdf6dd436df7f6f5f5fdea8e68327c
parent0ae360f098d88450f73f2b2176a6839ab593da2a
i965/blorp: Reduce the size of vertex buffer

Previously the vertex buffer consisted of eight floats per vertex
of which six where constants. These can be as easily provided by
vertex fetcher as it is capable of filling vertex elements with
constant one and zero. This reduces the size of the vertex buffer
from 3 * 8 * 4 = 96 to 3 * 2 * 4 = 24 bytes.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_blorp.cpp