Searched refs:outputVar (Results 1 – 10 of 10) sorted by relevance
25 let outputVar: string;28 outputVar = 'a';31 outputVar = 'b';34 outputVar = 'c';37 outputVar = 'd';40 outputVar = 'e';43 return outputVar;53 let outputVar: string;56 outputVar = 'a';59 outputVar = 'b';[all …]
143 for (const auto &outputVar : mOutputVariables) in translate() local147 if (outputVar.name == "gl_FragColor") in translate()153 else if (outputVar.name == "gl_FragData") in translate()162 if (outputVar.name == "gl_SecondaryFragColorEXT") in translate()168 else if (outputVar.name == "gl_SecondaryFragDataEXT") in translate()
1086 for (const ShaderVariable &outputVar : mOutputVariables) in translateImpl() local1088 if (outputVar.name == "gl_SampleMask") in translateImpl()
741 for (const auto& outputVar : entryPoint.output_variables) { in ReflectShaderUsingTint() local743 !outputVar.has_location_decoration, in ReflectShaderUsingTint()745 outputVar.name); in ReflectShaderUsingTint()747 uint32_t location = outputVar.location_decoration; in ReflectShaderUsingTint()751 outputVar.name, location, kMaxInterStageShaderLocation); in ReflectShaderUsingTint()756 TintComponentTypeToInterStageComponentType(outputVar.component_type)); in ReflectShaderUsingTint()759 outputVar.composition_type)); in ReflectShaderUsingTint()762 TintInterpolationTypeToInterpolationType(outputVar.interpolation_type)); in ReflectShaderUsingTint()766 outputVar.interpolation_sampling)); in ReflectShaderUsingTint()829 for (const auto& outputVar : entryPoint.output_variables) { in ReflectShaderUsingTint() local[all …]
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()
25 let outputVar: string;
609 for (const auto &outputVar : getOutputLocations()) in save() local611 stream->writeInt(outputVar.arrayIndex); in save()612 stream->writeIntOrNegOne(outputVar.index); in save()613 stream->writeBool(outputVar.ignored); in save()632 for (const auto &outputVar : getSecondaryOutputLocations()) in save() local634 stream->writeInt(outputVar.arrayIndex); in save()635 stream->writeIntOrNegOne(outputVar.index); in save()636 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()
305 const sh::ShaderVariable &outputVar = outputVariables[outputLocation.index]; in AssignSecondaryOutputLocations() local308 if (outputVar.location != -1) in AssignSecondaryOutputLocations()310 location = outputVar.location; in AssignSecondaryOutputLocations()314 AddLocationInfo(variableInfoMapOut, gl::ShaderType::Fragment, outputVar.mappedName, in AssignSecondaryOutputLocations()318 if (outputVar.index == -1) in AssignSecondaryOutputLocations()331 for (const auto &outputVar : shaderOutputs) in AssignSecondaryOutputLocations() local333 if (outputVar.name == "gl_SecondaryFragColorEXT") in AssignSecondaryOutputLocations()339 else if (outputVar.name == "gl_SecondaryFragDataEXT") in AssignSecondaryOutputLocations()366 const sh::ShaderVariable &outputVar = outputVariables[outputLocation.index]; in AssignOutputLocations() local369 if (outputVar.location != -1) in AssignOutputLocations()[all …]