Do not add shared var cases for double types
authorPyry Haulos <phaulos@google.com>
Thu, 19 May 2016 20:24:27 +0000 (13:24 -0700)
committerPyry Haulos <phaulos@google.com>
Thu, 19 May 2016 20:24:27 +0000 (13:24 -0700)
Change-Id: Ic0ecaef03f9305d16214b29ed1c3bfca103f2f49

modules/gles31/functional/es31fShaderSharedVarTests.cpp

index d8e6cc3..9d4ec76 100644 (file)
@@ -367,6 +367,9 @@ void ShaderSharedVarTests::init (void)
 
                for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++)
                {
+                       if (glu::getDataTypeScalarType(DataType(basicType)) == glu::TYPE_DOUBLE)
+                               continue;
+
                        if (glu::isDataTypeBoolOrBVec(DataType(basicType)))
                        {
                                const tcu::UVec3        workGroupSize   (2,1,3);