Home | History | Annotate | Download | only in functional

Lines Matching full:m_spec

182 	ShaderSpec				m_spec;
197 m_spec.version = glu::GLSL_VERSION_300_ES;
209 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec);
326 const int numInputScalars = computeTotalScalarSize(m_spec.inputs);
327 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs);
330 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues);
331 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues);
342 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs);
343 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs);
365 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = "
366 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
371 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = "
372 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
427 m_spec.source = "out0 = abs(in0);";
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
458 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
507 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
508 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
509 m_spec.source = "out0 = sign(in0);";
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
551 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
552 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
613 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
614 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
615 m_spec.source = "out0 = roundEven(in0);";
628 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
629 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
658 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
659 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
724 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
725 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
726 m_spec.outputs.push_back(Symbol("out1", glu::VarType(baseType, precision)));
727 m_spec.source = "out0 = modf(in0, out1);";
740 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
741 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
749 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
750 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
795 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
796 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST)));
797 m_spec.source = "out0 = isnan(in0);";
803 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
804 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
826 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
827 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
876 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
877 m_spec.outputs.push_back(Symbol("out0", glu::VarType(boolType, glu::PRECISION_LAST)));
878 m_spec.source = "out0 = isinf(in0);";
884 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
885 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
907 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
908 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
956 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
957 m_spec.outputs.push_back(Symbol("out0", glu::VarType(intType, glu::PRECISION_HIGHP)));
958 m_spec.source = outIsSigned ? "out0 = floatBitsToInt(in0);" : "out0 = floatBitsToUint(in0);";
971 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
972 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
980 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
981 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1034 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, glu::PRECISION_HIGHP)));
1035 m_spec.outputs.push_back(Symbol("out0", glu::VarType(floatType, glu::PRECISION_HIGHP)));
1036 m_spec.source = inIsSigned ? "out0 = intBitsToFloat(in0);" : "out0 = uintBitsToFloat(in0);";
1042 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1052 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1080 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1081 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1082 m_spec.source = "out0 = floor(in0);";
1095 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1096 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1111 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1112 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1176 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1177 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1178 m_spec.source = "out0 = trunc(in0);";
1191 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1192 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1217 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1218 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1284 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1285 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1286 m_spec.source = "out0 = round(in0);";
1299 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1300 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1329 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1330 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1412 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1413 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1414 m_spec.source = "out0 = ceil(in0);";
1427 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1428 const glu::Precision precision = m_spec
1444 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1445 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1517 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision)));
1518 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision)));
1519 m_spec.source = "out0 = fract(in0);";
1532 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1533 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1562 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1563 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();