Searched refs:outputVar (Results 1 – 7 of 7) sorted by relevance
147 for (const auto &outputVar : mOutputVariables) in translate() local151 if (outputVar.name == "gl_FragColor") in translate()157 else if (outputVar.name == "gl_FragData") in translate()166 if (outputVar.name == "gl_SecondaryFragColorEXT") in translate()172 else if (outputVar.name == "gl_SecondaryFragDataEXT") in translate()
1058 for (const ShaderVariable &outputVar : mOutputVariables) in translateImpl() local1060 if (outputVar.name == "gl_SampleMask") in translateImpl()
369 const sh::ShaderVariable &outputVar = in link() local371 if (outputVar.location == -1 || outputVar.index == -1) in link()377 ASSERT(outputVar.index == -1); in link()380 outputVar.mappedName.c_str()); in link()392 const sh::ShaderVariable &outputVar = in link() local394 if (outputVar.location == -1 || outputVar.index == -1) in link()400 ASSERT(outputVar.index == -1); in link()403 outputVar.mappedName.c_str()); in link()
555 for (const auto &outputVar : getOutputLocations()) in save() local557 stream->writeInt(outputVar.arrayIndex); in save()558 stream->writeIntOrNegOne(outputVar.index); in save()559 stream->writeBool(outputVar.ignored); in save()563 for (const auto &outputVar : getSecondaryOutputLocations()) in save() local565 stream->writeInt(outputVar.arrayIndex); in save()566 stream->writeIntOrNegOne(outputVar.index); in save()567 stream->writeBool(outputVar.ignored); in save()
103 for (auto &outputVar : outputVariables) in FindOutputAtLocation() local105 if (outputVar.outputLocation == location && outputVar.outputIndex == index) in FindOutputAtLocation()107 return &outputVar; in FindOutputAtLocation()
80 for (auto &outputVar : shaderOutputVars) in GetMaxOutputIndex() local82 if (outputVar.outputLocation == location) in GetMaxOutputIndex()84 maxIndex = std::max(maxIndex, outputVar.outputIndex); in GetMaxOutputIndex()
306 const sh::ShaderVariable &outputVar = outputVariables[outputLocation.index]; in AssignSecondaryOutputLocations() local309 if (outputVar.location != -1) in AssignSecondaryOutputLocations()311 location = outputVar.location; in AssignSecondaryOutputLocations()315 AddLocationInfo(variableInfoMapOut, gl::ShaderType::Fragment, outputVar.mappedName, in AssignSecondaryOutputLocations()319 if (outputVar.index == -1) in AssignSecondaryOutputLocations()332 for (const auto &outputVar : shaderOutputs) in AssignSecondaryOutputLocations() local334 if (outputVar.name == "gl_SecondaryFragColorEXT") in AssignSecondaryOutputLocations()340 else if (outputVar.name == "gl_SecondaryFragDataEXT") in AssignSecondaryOutputLocations()367 const sh::ShaderVariable &outputVar = outputVariables[outputLocation.index]; in AssignOutputLocations() local370 if (outputVar.location != -1) in AssignOutputLocations()[all …]