Fix ShaderUniformIntegerFunctionTest to not have bool precision
authorRaymond Chiu <chiur@google.com>
Mon, 12 Mar 2018 17:49:10 +0000 (10:49 -0700)
committerRaymond Chiu <chiur@google.com>
Tue, 13 Mar 2018 00:48:29 +0000 (00:48 +0000)
Bug: 71875560
Components: AOSP
Affects: dEQP-GLES31.functional.shaders.builtin_functions.uniform.*
Change-Id: I25325aa74090ec253da33ba2677ac281e3a6e01c

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)