Add 2D MS array sampler support to compiler
This also places textureSize(gsampler2DMS) correctly in the ESSL 3.10
builtins instead of ESSL 3.00 builtins.
BUG=angleproject:2775
TEST=angle_unittests
Change-Id: Ieb0f7a7424a5558a5569af6d4fcbcc9b12ec9840
Reviewed-on: https://chromium-review.googlesource.com/1186466
Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
diff --git a/src/compiler/translator/ShaderLang.cpp b/src/compiler/translator/ShaderLang.cpp
index d8aff5f..10cc5e9 100644
--- a/src/compiler/translator/ShaderLang.cpp
+++ b/src/compiler/translator/ShaderLang.cpp
@@ -17,8 +17,8 @@
#ifdef ANGLE_ENABLE_HLSL
#include "compiler/translator/TranslatorHLSL.h"
#endif // ANGLE_ENABLE_HLSL
-#include "compiler/translator/VariablePacker.h"
#include "angle_gl.h"
+#include "compiler/translator/VariablePacker.h"
namespace sh
{
@@ -202,6 +202,7 @@
resources->OVR_multiview = 0;
resources->EXT_YUV_target = 0;
resources->EXT_geometry_shader = 0;
+ resources->ANGLE_texture_multisample_array = 0;
resources->NV_draw_buffers = 0;
@@ -269,7 +270,7 @@
resources->MaxCombinedAtomicCounterBuffers = 1;
resources->MaxAtomicCounterBufferSize = 32;
- resources->MaxUniformBufferBindings = 32;
+ resources->MaxUniformBufferBindings = 32;
resources->MaxShaderStorageBufferBindings = 4;
resources->MaxGeometryUniformComponents = 1024;