i965/blorp: Let compiler calculate the vertex buffer size
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 12 Apr 2016 06:27:00 +0000 (09:27 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 21 Apr 2016 05:35:58 +0000 (08:35 +0300)
commitf1ddfa8512df62422db00281ce216eff7ec5706c
treef7cdd41d14a4684a4674ec26d30691fc64ce6b09
parent4c526370ca9020ab2ca9ea533a8ccb2fe901fe78
i965/blorp: Let compiler calculate the vertex buffer size

Currently the size is sizeof(float) times too large. One reserves
GEN6_BLORP_VBO_SIZE many floats whereas GEN6_BLORP_VBO_SIZE stands
for the size of vertex buffer in 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