Revert "glsl: reject image qualifiers with non-image types inside uniform blocks"
authorMatt Turner <mattst88@gmail.com>
Fri, 28 Apr 2017 19:29:11 +0000 (12:29 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 28 Apr 2017 19:31:20 +0000 (12:31 -0700)
commitee70937d1513b616a63175d84507f308759a129d
tree53ef27dbba6f6605879a9ad1e0f6ccb0e57a0f0e
parent27469aa72eb301e7c91f237719077372292e3704
Revert "glsl: reject image qualifiers with non-image types inside uniform blocks"

This reverts commit 24011ead71ea9980e6b34e40d9dbd64e6560f5a4.

This causes lots of ES 3.1 CTS tests to fail to compile a bit of code
like:

   layout(binding = 0) buffer InOut
   {
        highp uint inputValues[384];
        highp uint outputValues[384];
        coherent highp uint groupValues[64];      <-----
   } sb_inout;

   error: memory qualifiers may only be applied to images
src/compiler/glsl/ast_to_hir.cpp