Lines Matching defs:output
504 // It is illegal to have a structure containing an array as an output variable
553 const TopLevelObject& output = *m_tcsOutputs[tcsOutputNdx];
564 // \note: TCS output arrays are always implicitly-sized
567 tcsDeclarations << outMaybePatch << output.declareArray(m_caseDef.ioType == IO_TYPE_PER_PATCH_ARRAY ? de::toString(NUM_PER_PATCH_ARRAY_ELEMS)
571 tcsDeclarations << outMaybePatch << output.declare();
573 tcsNextOutputLocation += output.numBasicSubobjectsInElementType();
576 tcsStatements << "\t\tv += float(gl_InvocationID)*" << de::floatToString(0.4f * (float)output.numBasicSubobjectsInElementType(), 1) << ";\n";
578 tcsStatements << "\n\t\t// Assign values to output " << output.name() << "\n";
580 tcsStatements << output.glslTraverseBasicTypeArray(numElements, 2, glslAssignBasicTypeObject);
582 tcsStatements << output.glslTraverseBasicType(2, glslAssignBasicTypeObject);
585 tcsStatements << "\t\tv += float(" << de::toString(NUM_OUTPUT_VERTICES) << "-gl_InvocationID-1)*" << de::floatToString(0.4f * (float)output.numBasicSubobjectsInElementType(), 1) << ";\n";
817 // Color output buffer: image will be copied here for verification