OSDN Git Service

glsl: Add support for image binding qualifiers.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 16 Aug 2015 22:25:11 +0000 (01:25 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 20 Aug 2015 09:26:54 +0000 (12:26 +0300)
commit241774aa03d6dda5fe4cd86c1988f1678d4c0e5f
treec84d88c476a87d640b2c4df70c7cc9418c7bc4b8
parentebf1196d82eeed2f7863984ec33d26538a97b531
glsl: Add support for image binding qualifiers.

Support for binding an image to an image unit explicitly in the shader
source is required by both GLSL 4.2 and GLSL ES 3.1, but not by the
original ARB_shader_image_load_store extension.

Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/ast_to_hir.cpp
src/glsl/link_uniform_initializers.cpp