i965: Implement texture buffer objects on Gen6.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 1 Jun 2012 11:19:27 +0000 (04:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Jun 2012 19:02:42 +0000 (12:02 -0700)
commitadbfc4a09a21a3a9c707833e21a712a1d3fff7bd
treecd3cae39ccd0940afb314b0ce4eda0ceb08b6cc8
parent608c3d2083be9de1eadac6dad67cd571888ca5d7
i965: Implement texture buffer objects on Gen6.

Commit a07cf3397e332388d3599c83e50ac45511972890 added support for TBOs
on Gen7, but missed Gen6.

Passes piglit -t texture_buffer and oglconform's buffermapping
basic.read.texture tests.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c