mesa: AtomicBufferBindings should be initialized to zero.
authorMarta Lofstedt <marta.lofstedt@intel.com>
Thu, 13 Aug 2015 10:59:40 +0000 (12:59 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 17 Aug 2015 07:24:26 +0000 (10:24 +0300)
commitdd9d2963d66d24394b20823fcffb809cc8d5389d
tree5133da757610784f4ca1548bb2af279aedb8219c
parenta7e6f8cc9f72fcf4eaef814eb50d53ccffd58730
mesa: AtomicBufferBindings should be initialized to zero.

According to OpenGL specification version 4.5 table 23.46
and OpenGL ES specification version 3.1 table 20.31:
ATOMIC_COUNTER_BUFFER_START and ATOMIC_COUNTER_BUFFER_SIZE
should have the initial value of zero.

Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
src/mesa/main/bufferobj.c