Lines Matching refs:m_spec
255 ShaderSpec m_spec; member in deqp::gles31::Functional::CommonFunctionCase
281 …m_spec.version = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) ?… in init()
283 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec); in init()
400 const int numInputScalars = computeTotalScalarSize(m_spec.inputs); in iterate()
401 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs); in iterate()
404 …const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValue… in iterate()
405 …const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numVa… in iterate()
416 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs); in iterate()
417 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs); in iterate()
439 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = " in iterate()
440 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx]) in iterate()
445 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = " in iterate()
446 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx]) in iterate()
503 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase()
504 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase()
505 m_spec.source = "out0 = abs(in0);"; in AbsCase()
524 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
525 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
536 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
537 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
585 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase()
586 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase()
587 m_spec.source = "out0 = sign(in0);"; in SignCase()
606 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
607 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
629 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
630 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
691 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase()
692 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase()
693 m_spec.source = "out0 = roundEven(in0);"; in RoundEvenCase()
706 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
707 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
736 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
737 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
802 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase()
803 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase()
804 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision))); in ModfCase()
805 m_spec.source = "out0 = modf(in0, out1);"; in ModfCase()
818 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
819 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
827 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
828 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
873 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in IsnanCase()
874 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsnanCase()
875 m_spec.source = "out0 = isnan(in0);"; in IsnanCase()
881 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
882 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
904 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
905 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
956 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in IsinfCase()
957 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST))); in IsinfCase()
958 m_spec.source = "out0 = isinf(in0);"; in IsinfCase()
964 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
965 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
987 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
988 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1039 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FloatBitsToUintIntCase()
1040 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP))); in FloatBitsToUintIntCase()
1041 m_spec.source = outIsSigned ? "out0 = floatBitsToInt(in0);" : "out0 = floatBitsToUint(in0);"; in FloatBitsToUintIntCase()
1054 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1055 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1063 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1064 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1117 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
1118 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP))); in BitsToFloatCase()
1119 m_spec.source = inIsSigned ? "out0 = intBitsToFloat(in0);" : "out0 = uintBitsToFloat(in0);"; in BitsToFloatCase()
1125 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1135 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1163 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FloorCase()
1164 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in FloorCase()
1165 m_spec.source = "out0 = floor(in0);"; in FloorCase()
1178 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1179 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1194 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1195 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1259 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in TruncCase()
1260 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in TruncCase()
1261 m_spec.source = "out0 = trunc(in0);"; in TruncCase()
1274 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1275 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1300 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1301 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1367 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundCase()
1368 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundCase()
1369 m_spec.source = "out0 = round(in0);"; in RoundCase()
1382 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1383 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1412 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1413 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1495 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in CeilCase()
1496 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in CeilCase()
1497 m_spec.source = "out0 = ceil(in0);"; in CeilCase()
1510 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1511 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1527 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1528 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1600 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FractCase()
1601 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in FractCase()
1602 m_spec.source = "out0 = fract(in0);"; in FractCase()
1615 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1616 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1645 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1646 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1746 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in FrexpCase()
1747 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in FrexpCase()
1748 m_spec.outputs.push_back(Symbol("out1", glu::VarType(intType, glu::PRECISION_HIGHP))); in FrexpCase()
1749 m_spec.source = "out0 = frexp(in0, out1);"; in FrexpCase()
1762 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1763 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1795 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1796 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1837 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in LdexpCase()
1838 m_spec.inputs.push_back(Symbol("in1", glu::VarType(intType, glu::PRECISION_HIGHP))); in LdexpCase()
1839 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP))); in LdexpCase()
1840 m_spec.source = "out0 = ldexp(in0, in1);"; in LdexpCase()
1853 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1854 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
1935 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
1936 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()
1970 m_spec.inputs.push_back(Symbol("a", glu::VarType(baseType, precision))); in FmaCase()
1971 m_spec.inputs.push_back(Symbol("b", glu::VarType(baseType, precision))); in FmaCase()
1972 m_spec.inputs.push_back(Symbol("c", glu::VarType(baseType, precision))); in FmaCase()
1973 m_spec.outputs.push_back(Symbol("res", glu::VarType(baseType, precision))); in FmaCase()
1974 m_spec.source = "res = fma(a, b, c);"; in FmaCase()
1975 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n"; in FmaCase()
1996 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
1997 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in getInputValues()
2085 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
2086 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); in compare()