i965/state: Account for the element size in emit_buffer_surface_state
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 10 Jun 2016 04:12:22 +0000 (21:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 23:01:43 +0000 (16:01 -0700)
commitee229d1b9c9530a2a973c304490e7c17f7305340
treeeb46fc246fd915b7717ded9cf769bfc6e1712fbf
parent69c0dc5c53e565c7c0a95501e5626e01083ca855
i965/state: Account for the element size in emit_buffer_surface_state

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c
src/mesa/drivers/dri/i965/gen8_surface_state.c