Home | History | Annotate | Download | only in functional

Lines Matching refs:m_spec

180 	ShaderSpec				m_spec;
195 m_spec.version = glu::GLSL_VERSION_310_ES;
207 m_executor = createExecutor(m_context.getRenderContext(), m_shaderType, m_spec);
258 const int numInputScalars = computeTotalScalarSize(m_spec.inputs);
259 const int numOutputScalars = computeTotalScalarSize(m_spec.outputs);
262 const vector<void*> inputPointers = getInputOutputPointers(m_spec.inputs, inputData, m_numValues);
263 const vector<void*> outputPointers = getInputOutputPointers(m_spec.outputs, outputData, m_numValues);
274 const vector<int> inScalarSizes = getScalarSizes(m_spec.inputs);
275 const vector<int> outScalarSizes = getScalarSizes(m_spec.outputs);
297 m_testCtx.getLog() << TestLog::Message << " " << m_spec.inputs[inNdx].name << " = "
298 << VarValue(m_spec.inputs[inNdx].varType, curInputPtr[inNdx])
303 m_testCtx.getLog() << TestLog::Message << " " << m_spec.outputs[outNdx].name << " = "
304 << VarValue(m_spec.outputs[outNdx].varType, curOutputPtr[outNdx])
361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision)));
364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP)));
365 m_spec.source = "sum = uaddCarry(x, y, carry);";
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
425 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
457 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
458 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
459 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision)));
460 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP)));
461 m_spec.source = "diff = usubBorrow(x, y, carry);";
467 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
519 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
551 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
552 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
553 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision)));
554 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision)));
555 m_spec.source = "umulExtended(x, y, msb, lsb);";
561 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
562 // const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
611 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
641 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision)));
642 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision)));
643 m_spec.outputs.push_back(Symbol("msb", glu::VarType(baseType, precision)));
644 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(baseType, precision)));
645 m_spec.source = "imulExtended(x, y, msb, lsb);";
651 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
652 // const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
702 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
732 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
733 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision)));
734 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision)));
735 m_spec.outputs.push_back(Symbol("extracted", glu::VarType(baseType, precision)));
736 m_spec.source = "extracted = bitfieldExtract(value, offset, bits);";
742 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
743 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
764 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
795 m_spec.inputs.push_back(Symbol("base", glu::VarType(baseType, precision)));
796 m_spec.inputs.push_back(Symbol("insert", glu::VarType(baseType, precision)));
797 m_spec.inputs.push_back(Symbol("offset", glu::VarType(glu::TYPE_INT, precision)));
798 m_spec.inputs.push_back(Symbol("bits", glu::VarType(glu::TYPE_INT, precision)));
799 m_spec.outputs.push_back(Symbol("result", glu::VarType(baseType, precision)));
800 m_spec.source = "result = bitfieldInsert(base, insert, offset, bits);";
806 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
807 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
829 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
830 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
872 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
873 m_spec.outputs.push_back(Symbol("result", glu::VarType(baseType, glu::PRECISION_HIGHP)));
874 m_spec.source = "result = bitfieldReverse(value);";
880 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
881 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
889 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
890 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
921 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
922 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_LOWP)));
923 m_spec
929 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
930 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
938 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
939 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
981 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
982 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP)));
983 m_spec.source = "lsb = findLSB(value);";
989 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
990 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
998 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
999 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1059 m_spec.inputs.push_back(Symbol("value", glu::VarType(baseType, precision)));
1060 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP)));
1061 m_spec.source = "msb = findMSB(value);";
1067 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1068 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
1076 const glu::DataType type = m_spec.inputs[0].varType.getBasicType();
1077 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();