Lines Matching refs:glu
45 UniformIntegerFunctionCase (Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType);
60 glu::ShaderType m_shaderType;
66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType);
68 UniformIntegerFunctionCase::UniformIntegerFunctionCase(Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType)
75 m_spec.version = glu::GLSL_VERSION_310_ES;
78 glu::VarType varType(glu::TYPE_INT, precision);
79 oss << "uniform " << glu::declare(varType, "value", 0) << ";\n";
81 m_spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_LOWP)));
82 m_spec.outputs.push_back(Symbol("comparison", glu::VarType(glu::TYPE_BOOL, glu::PRECISION_LAST)));
146 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType)
153 FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType)
170 FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType)
191 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++)
193 for (int shaderTypeNdx = 0; shaderTypeNdx < glu::SHADERTYPE_LAST; shaderTypeNdx++)
195 if (executorSupported(glu::ShaderType(shaderTypeNdx)))
197 group->addChild(new TestClass(parent->getContext(), input, glu::Precision(prec), glu::ShaderType(shaderTypeNdx)));