mesa: Initialize image units to default state on context creation.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 31 Jan 2015 15:00:19 +0000 (17:00 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 4 May 2015 14:44:16 +0000 (17:44 +0300)
commitb663d6bc6f4de9439107fc6444e436d14e21ee79
tree6fc0665bf99f67a91769bce8d91c21ea94da36a6
parent1b9990e37333076fdc112295ae09193bbe8d57db
mesa: Initialize image units to default state on context creation.

This is the required initial image unit state according to "Table 23.45. Image
State (state per image unit)" of the OpenGL 4.3 specification.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/context.c
src/mesa/main/shaderimage.c
src/mesa/main/shaderimage.h