glsl: add missing types for buffer images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 29 Mar 2016 21:11:07 +0000 (23:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 30 Mar 2016 17:01:33 +0000 (19:01 +0200)
commitbb37886f75f48727e5d3f5e2715c4a2f418ac1a1
treede771395bd2dd0e67ef8e0de42bd24926aec0a99
parent6773128bbf8703663ed1a4d6c1c3308b3c002a35
glsl: add missing types for buffer images

Type of GLSL_SAMPLER_DIM_BUF can be sampler or image.

Spotted while trying to run dEQP tests related to
ARB_shader_image_load_store.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/compiler/glsl/ast_to_hir.cpp