Lines Matching refs:m_spec
242 ShaderSpec m_spec; member in deqp::gles31::Functional::CommonFunctionCase
269 m_spec.version = glu::getContextTypeGLSLVersion(contextType); in init()
271 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init()
388 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate()
389 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate()
392 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate()
393 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate()
404 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate()
405 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate()
427 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
428 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
433 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
434 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
463 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
464 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
465 m_spec.source = "out0 = abs(in0);"; in AbsCase()
484 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
485 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
496 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
497 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
545 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
546 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase()
547 m_spec.source = "out0 = sign(in0);"; in SignCase()
566 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
567 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
589 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
590 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
651 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase()
652 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase()
653 m_spec.source = "out0 = roundEven(in0);"; in RoundEvenCase()
666 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
667 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
696 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
697 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
762 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase()
763 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase()
764 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision))); in ModfCase()
765 m_spec.source = "out0 = modf(in0, out1);"; in ModfCase()
778 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
779 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
787 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
788 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
833 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in IsnanCase()
834 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
835 m_spec.source = "out0 = isnan(in0);"; in IsnanCase()
841 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
842 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
864 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
865 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
916 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in IsinfCase()
917 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
918 m_spec.source = "out0 = isinf(in0);"; in IsinfCase()
924 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
925 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
947 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
948 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
999 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FloatBitsToUintIntCase()
1000 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1001 m_spec.source = outIsSigned ? "out0 = floatBitsToInt(in0);" : "out0 = floatBitsToUint(in0);"; in FloatBitsToUintIntCase()
1014 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1015 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1023 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1024 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1077 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
1078 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
1079 m_spec.source = inIsSigned ? "out0 = intBitsToFloat(in0);" : "out0 = uintBitsToFloat(in0);"; in BitsToFloatCase()
1085 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1095 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1123 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FloorCase()
1124 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in FloorCase()
1125 m_spec.source = "out0 = floor(in0);"; in FloorCase()
1138 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1139 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1154 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1155 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1219 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in TruncCase()
1220 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in TruncCase()
1221 m_spec.source = "out0 = trunc(in0);"; in TruncCase()
1234 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1235 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1260 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1261 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1327 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundCase()
1328 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundCase()
1329 m_spec.source = "out0 = round(in0);"; in RoundCase()
1342 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1343 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1372 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1373 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1455 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in CeilCase()
1456 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in CeilCase()
1457 m_spec.source = "out0 = ceil(in0);"; in CeilCase()
1470 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1471 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1487 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1488 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1560 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FractCase()
1561 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in FractCase()
1562 m_spec.source = "out0 = fract(in0);"; in FractCase()
1575 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1576 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1605 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1606 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1706 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FrexpCase()
1707 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in FrexpCase()
1708 m_spec.outputs.push_back(Symbol("out1", glu::VarType(intType, glu::PRECISION_HIGHP))); in FrexpCase()
1709 m_spec.source = "out0 = frexp(in0, out1);"; in FrexpCase()
1722 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1723 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1755 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1756 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1797 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in LdexpCase()
1798 m_spec.inputs.push_back(Symbol("in1", glu::VarType(intType, glu::PRECISION_HIGHP))); in LdexpCase()
1799 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in LdexpCase()
1800 m_spec.source = "out0 = ldexp(in0, in1);"; in LdexpCase()
1813 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1814 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1895 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1896 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1930 m_spec.inputs.push_back(Symbol("a", glu::VarType(baseType, precision))); in FmaCase()
1931 m_spec.inputs.push_back(Symbol("b", glu::VarType(baseType, precision))); in FmaCase()
1932 m_spec.inputs.push_back(Symbol("c", glu::VarType(baseType, precision))); in FmaCase()
1933 m_spec.outputs.push_back(Symbol("res", glu::VarType(baseType, precision))); in FmaCase()
1934 m_spec.source = "res = fma(a, b, c);"; in FmaCase()
1937 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
1960 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1961 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
2049 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
2050 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()