Fix ShaderUniformIntegerFunctionTest to not have bool precision
authorRaymond Chiu <chiur@google.com>
Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)
committerChris Forbes <chrisforbes@google.com>
Wed, 28 Mar 2018 00:43:15 +0000 (17:43 -0700)
Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c
(cherry picked from commit 8ab1016d3d4fa98d2c8d74ef5580873d61161a43)

modules/gles31/functional/es31fShaderUniformIntegerFunctionTests.cpp

index 30f3391..466d793 100644 (file)
@@ -79,7 +79,7 @@ UniformIntegerFunctionCase::UniformIntegerFunctionCase(Context& context, const c
        oss << "uniform " << glu::declare(varType, "value", 0) << ";\n";
        m_spec.globalDeclarations = oss.str();
        m_spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_LOWP)));
-       m_spec.outputs.push_back(Symbol("comparison", glu::VarType(glu::TYPE_BOOL, glu::PRECISION_LOWP)));
+       m_spec.outputs.push_back(Symbol("comparison", glu::VarType(glu::TYPE_BOOL, glu::PRECISION_LAST)));
 }
 
 UniformIntegerFunctionCase::~UniformIntegerFunctionCase(void)