mesa: Add shader storage buffer support to struct gl_context
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 19 Mar 2015 09:15:30 +0000 (10:15 +0100)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commitcd50906e0334d7ad0102e5733a152d55d672776b
treeeaf91bf1c5d461b56fecf5a1b174e141ae0744e8
parentdf89ed1591c9d1c55e79fe8effb976c21b172a7d
mesa: Add shader storage buffer support to struct gl_context

This includes the array of bindings, the current buffer bound to the
GL_SHADER_STORAGE_BUFFER target and a set of general limits and default
values for shader storage buffers.

v2:
- Use spec values for the new defined constants (Jordan)

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/bufferobj.c
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/main/mtypes.h