Lines Matching refs:outputVariable
454 const PixelShaderOutputVariable &outputVariable = GetOutputAtLocation(outputVariables, location);
456 declarationHLSL += " " + HLSLTypeString(outputVariable.type) + " " + outputVariable.name +
459 copyHLSL += " output." + outputVariable.name + " = " + outputVariable.source + ";\n";
828 const sh::ShaderVariable &outputVariable = shaderOutputVars[outputLocation.index];
832 ASSERT(outputVariable.staticUse);
835 outputKeyVariable.type = outputVariable.type;
975 const sh::Attribute &outputVariable = shaderOutputVars[outputVariableIndex];
976 const int baseLocation = outputVariable.location == -1 ? 0 : outputVariable.location;
978 ASSERT(outputVariable.staticUse);
980 if (outputVariable.arraySize > 0)
982 for (unsigned int elementIndex = 0; elementIndex < outputVariable.arraySize; elementIndex++)
986 (*programOutputVars)[location] = VariableLocation(outputVariable.name, elementIndex, outputVariableIndex);
992 (*programOutputVars)[baseLocation] = VariableLocation(outputVariable.name, GL_INVALID_INDEX, outputVariableIndex);