Home | History | Annotate | Download | only in functional

Lines Matching full:m_spec

209 	ShaderSpec				m_spec;
224 m_spec.version = glu::GLSL_VERSION_310_ES;
236 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec);
353 const int numInputScalars = computeTotalScalarSize(m_spec.inputs);
354 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs);
357 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues);
358 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues);
369 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs);
370 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs);
392 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = "
393 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
398 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = "
399 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
456 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
457 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
458 m_spec.source = "out0 = abs(in0);";
477 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
478 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
489 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
490 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
538 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
539 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
540 m_spec.source = "out0 = sign(in0);";
559 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
560 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
582 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
583 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
644 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
645 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
646 m_spec.source = "out0 = roundEven(in0);";
659 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
660 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
689 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
690 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
755 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
756 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
757 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision)));
758 m_spec.source = "out0 = modf(in0, out1);";
771 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
772 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
780 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
781 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
826 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
827 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST)));
828 m_spec.source = "out0 = isnan(in0);";
834 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
835 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
857 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
858 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
909 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
910 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST)));
911 m_spec.source = "out0 = isinf(in0);";
917 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
918 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
940 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
941 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
992 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
993 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP)));
994 m_spec.source = outIsSigned ? "out0 = floatBitsToInt(in0);" : "out0 = floatBitsToUint(in0);";
1007 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1008 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1016 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1017 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1070 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1071 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP)));
1072 m_spec.source = inIsSigned ? "out0 = intBitsToFloat(in0);" : "out0 = uintBitsToFloat(in0);";
1078 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1088 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1116 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1117 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1118 m_spec.source = "out0 = floor(in0);";
1131 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1132 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1147 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1148 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1212 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1213 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1214 m_spec.source = "out0 = trunc(in0);";
1227 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1228 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1253 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1254 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1320 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1321 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1322 m_spec.source = "out0 = round(in0);";
1335 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1336 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1365 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1366 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1448 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1449 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1450 m_spec.source = "out0 = ceil(in0);";
1463 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1464 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1480 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1481 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1553 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1554 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1555 m_spec.source = "out0 = fract(in0);";
1568 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1569 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1598 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1599 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1699 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1700 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1701 m_spec.outputs.push_back(Symbol("out1", glu::VarType(intType, glu::PRECISION_HIGHP)));
1702 m_spec.source = "out0 = frexp(in0, out1);";
1715 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1716 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1737 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1738 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1779 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1780 m_spec.inputs.push_back(Symbol("in1", glu::VarType(intType, glu::PRECISION_HIGHP)));
1781 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1782 m_spec.source = "out0 = ldexp(in0, in1);";
1795 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1796 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1877 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1878 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1913 m_spec.inputs.push_back(Symbol("a", glu::VarType(baseType, precision)));
1914 m_spec.inputs.push_back(Symbol("b", glu::VarType(baseType, precision)));
1915 m_spec.inputs.push_back(Symbol("c", glu::VarType(baseType, precision)));
1916 m_spec.outputs.push_back(Symbol("res", glu::VarType(baseType, precision)));
1917 m_spec.source = "res = fma(a, b, c);";
1918 m_spec.globalDeclarations = "#extension GL_EXT_gpu_shader5 : require\n";
1939 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1940 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
2025 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
2026 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();