i965: Add support for GL_ARB_texture_buffer_range.
authorEric Anholt <eric@anholt.net>
Sat, 5 Oct 2013 00:46:04 +0000 (17:46 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 23 Oct 2013 22:33:10 +0000 (15:33 -0700)
commita5e2e7f9a4bc813ce85f4a10bcd6086f21aa8a32
treed0c3e60d36b735acb3178c7b10bbdaaf2ba4cfb4
parentb37f7e0160ae30d75c939bcd1aab8df3a2178820
i965: Add support for GL_ARB_texture_buffer_range.

Supporting this extension turns out to simplify our code a bit over not
supporting this extension, once the glBufferSubData() synchronization code
lands.

v2: Use 16 byte alignment like we do for uniform buffers, due to unaligned
    access penalties.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> (v1)
docs/GL3.txt
src/mesa/drivers/dri/i965/brw_context.c
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/intel_extensions.c