Home
last modified time | relevance | path

Searched refs:outputVar (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/compiler/translator/
DTranslatorGLSL.cpp147 for (const auto &outputVar : mOutputVariables) in translate() local
151 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()
DTranslatorVulkan.cpp1058 for (const ShaderVariable &outputVar : mOutputVariables) in translateImpl() local
1060 if (outputVar.name == "gl_SampleMask") in translateImpl()
/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp369 const sh::ShaderVariable &outputVar = in link() local
371 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() local
394 if (outputVar.location == -1 || outputVar.index == -1) in link()
400 ASSERT(outputVar.index == -1); in link()
403 outputVar.mappedName.c_str()); in link()
/external/angle/src/libANGLE/
DProgramExecutable.cpp555 for (const auto &outputVar : getOutputLocations()) in save() local
557 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() local
565 stream->writeInt(outputVar.arrayIndex); in save()
566 stream->writeIntOrNegOne(outputVar.index); in save()
567 stream->writeBool(outputVar.ignored); in save()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp103 for (auto &outputVar : outputVariables) in FindOutputAtLocation() local
105 if (outputVar.outputLocation == location && outputVar.outputIndex == index) in FindOutputAtLocation()
107 return &outputVar; in FindOutputAtLocation()
DProgramD3D.cpp80 for (auto &outputVar : shaderOutputVars) in GetMaxOutputIndex() local
82 if (outputVar.outputLocation == location) in GetMaxOutputIndex()
84 maxIndex = std::max(maxIndex, outputVar.outputIndex); in GetMaxOutputIndex()
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp306 const sh::ShaderVariable &outputVar = outputVariables[outputLocation.index]; in AssignSecondaryOutputLocations() local
309 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() local
334 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() local
370 if (outputVar.location != -1) in AssignOutputLocations()
[all …]