i965: Define vtbl method that initializes an untyped R/W surface.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 22 Sep 2013 22:33:49 +0000 (15:33 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 29 Oct 2013 19:40:55 +0000 (12:40 -0700)
commitc4e730e218a5e8fa329bb122b293b456f373b41b
treec2967fcd4c5a76ee017629ff4656daefc9e534a3
parent7a54db9ce51f6867c2c56f4324b65ca7bce34475
i965: Define vtbl method that initializes an untyped R/W surface.

And add Gen7 implementation.

v2: Fix off by one error in buffer size calculation.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c