/third_party/skia/src/sksl/ir/ |
H A D | SkSLInterfaceBlock.h | 35 skstd::string_view instanceName, int arraySize, in InterfaceBlock() 40 , fInstanceName(instanceName) in InterfaceBlock() 52 skstd::string_view instanceName() const { in instanceName() function in SkSL::final 66 this->instanceName(), this->arraySize(), 80 if (!this->instanceName().empty()) { 81 result += " " + this->instanceName(); 34 InterfaceBlock(int line, const Variable& var, skstd::string_view typeName, skstd::string_view instanceName, int arraySize, std::shared_ptr<SymbolTable> typeOwner) InterfaceBlock() argument
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
H A D | UseInterfaceBlockFields.cpp | 68 if (block.instanceName.empty()) in InsertUseCode() 78 ReferenceGlobalVariable(ImmutableString(block.instanceName), symbolTable); in InsertUseCode() 89 ReferenceGlobalVariable(ImmutableString(block.instanceName), symbolTable); in InsertUseCode()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/ |
H A D | vktMemoryModelSharedLayoutCase.hpp | 70 SharedStruct (const std::string name, const std::string instanceName) in SharedStruct() argument 71 : m_name(name), m_instanceName(instanceName) {} in SharedStruct() 101 SharedStruct& allocSharedObject (const std::string& name, const std::string& instanceName);
|
H A D | vktMemoryModelSharedLayout.cpp | 136 const string instanceName = "s" + de::toString(m_interface.getNumSharedObjects() + 1); in generateSharedMemoryObject() local 137 SharedStruct &object = m_interface.allocSharedObject(name, instanceName); in generateSharedMemoryObject()
|
H A D | vktMemoryModelSharedLayoutCase.cpp | 172 SharedStruct& ShaderInterface::allocSharedObject (const string& name, const string& instanceName) in allocSharedObject() argument 174 m_sharedMemoryObjects.emplace_back(name, instanceName); in allocSharedObject()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory_model/ |
H A D | vktMemoryModelSharedLayoutCase.hpp | 70 SharedStruct (const std::string name, const std::string instanceName) in SharedStruct() argument 71 : m_name(name), m_instanceName(instanceName) {} in SharedStruct() 101 SharedStruct& allocSharedObject (const std::string& name, const std::string& instanceName);
|
H A D | vktMemoryModelSharedLayout.cpp | 136 const string instanceName = "s" + de::toString(m_interface.getNumSharedObjects() + 1); in generateSharedMemoryObject() local 137 SharedStruct &object = m_interface.allocSharedObject(name, instanceName); in generateSharedMemoryObject()
|
H A D | vktMemoryModelSharedLayoutCase.cpp | 172 SharedStruct& ShaderInterface::allocSharedObject (const string& name, const string& instanceName) in allocSharedObject() argument 174 m_sharedMemoryObjects.emplace_back(name, instanceName); in allocSharedObject()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderVars.cpp | 487 instanceName(other.instanceName), in InterfaceBlock() 502 instanceName = other.instanceName; in operator =() 516 return instanceName.empty() ? "" : name; in fieldPrefix() 521 return instanceName.empty() ? "" : mappedName; in fieldMappedPrefix()
|
H A D | CollectVariables.cpp | 158 void recordInterfaceBlock(const char *instanceName, 971 void CollectVariablesTraverser::recordInterfaceBlock(const char *instanceName, in recordInterfaceBlock() argument 984 const bool isGLInBuiltin = (instanceName != nullptr) && strncmp(instanceName, "gl_in", 5u) == 0; in recordInterfaceBlock() 985 if (instanceName != nullptr) in recordInterfaceBlock() 987 interfaceBlock->instanceName = instanceName; in recordInterfaceBlock() 995 blockSymbol = mSymbolTable->findGlobal(ImmutableString(instanceName)); in recordInterfaceBlock() 1024 if (instanceName == nullptr) in recordInterfaceBlock()
|
H A D | blocklayout.cpp | 25 const std::string &instanceName, in BlockLayoutMapVisitor() 27 : BlockEncoderVisitor(instanceName, instanceName, encoder), mInfoOut(blockInfoOut) in BlockLayoutMapVisitor() 24 BlockLayoutMapVisitor(BlockLayoutMap *blockInfoOut, const std::string &instanceName, BlockLayoutEncoder *encoder) BlockLayoutMapVisitor() argument
|
H A D | ResourcesHLSL.h | 47 static TString InterfaceBlockInstanceString(const ImmutableString &instanceName,
|
H A D | ResourcesHLSL.cpp | 898 TString ResourcesHLSL::InterfaceBlockInstanceString(const ImmutableString &instanceName, in InterfaceBlockInstanceString() argument 903 return DecoratePrivate(instanceName) + "_" + str(arrayIndex); in InterfaceBlockInstanceString() 907 return Decorate(instanceName); in InterfaceBlockInstanceString()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcUniformBlockCase.cpp | 1537 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); in compareStd140Blocks() local 1538 int refBlockNdx = refLayout.getBlockIndex(instanceName.c_str()); in compareStd140Blocks() 1539 int cmpBlockNdx = cmpLayout.getBlockIndex(instanceName.c_str()); in compareStd140Blocks() 1552 log << TestLog::Message << "Error: Uniform block '" << instanceName << "' not found" in compareStd140Blocks() 1567 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName in compareStd140Blocks() 1619 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); in compareSharedBlocks() local 1620 int refBlockNdx = refLayout.getBlockIndex(instanceName.c_str()); in compareSharedBlocks() 1621 int cmpBlockNdx = cmpLayout.getBlockIndex(instanceName.c_str()); in compareSharedBlocks() 1634 log << TestLog::Message << "Error: Uniform block '" << instanceName << "' not found" in compareSharedBlocks() 1647 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName in compareSharedBlocks() 1698 std::ostringstream instanceName; compareTypes() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 1180 const string instanceName = block.getBlockName() + (isArray ? "[" + de::toString(instanceNdx) + "]" : string("")); in generateCompareSrc() local 1181 const int blockNdx = layout.getBlockIndex(instanceName); in generateCompareSrc() 1263 const string instanceName = block.getBlockName() + (isArray ? "[" + de::toString(instanceNdx) + "]" : string("")); in generateWriteSrc() local 1264 const int blockNdx = layout.getBlockIndex(instanceName); in generateWriteSrc() 1624 const string instanceName = block.getBlockName() + (isArray ? "[" + de::toString(instanceNdx) + "]" : string("")); in copyNonWrittenData() local 1625 const int blockNdx = layout.getBlockIndex(instanceName); in copyNonWrittenData() 2297 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); in compareStdBlocks() local 2298 int refBlockNdx = refLayout.getBlockIndex(instanceName.c_str()); in compareStdBlocks() 2299 int cmpBlockNdx = cmpLayout.getBlockIndex(instanceName.c_str()); in compareStdBlocks() 2309 log << TestLog::Message << "Error: Buffer block '" << instanceName << "' no in compareStdBlocks() 2373 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); compareSharedBlocks() local 2447 std::ostringstream instanceName; compareTypes() local [all...] |
H A D | es31fProgramInterfaceDefinitionUtil.cpp | 391 if (!interfaceBlock.instanceName.empty()) 392 buf << " " << interfaceBlock.instanceName; 539 const std::string prefix = (block.instanceName.empty()) ? ("") : (block.instanceName + "."); 561 name << block.instanceName; 672 const std::string prefix = (block.instanceName.empty()) ? ("") : (block.instanceName + "."); 694 name << block.instanceName; 805 else if (shader->getDefaultBlock().interfaceBlocks[interfaceNdx].instanceName.empty()) 1285 const std::string namePrefix = (!interfaceBlock.instanceName [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsUniformBlockCase.cpp | 1588 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); in compareStd140Blocks() local 1589 int refBlockNdx = refLayout.getBlockIndex(instanceName.c_str()); in compareStd140Blocks() 1590 int cmpBlockNdx = cmpLayout.getBlockIndex(instanceName.c_str()); in compareStd140Blocks() 1603 log << TestLog::Message << "Error: Uniform block '" << instanceName << "' not found" << TestLog::EndMessage; in compareStd140Blocks() 1617 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName in compareStd140Blocks() 1667 std::string instanceName = string(block.getBlockName()) + (isArray ? "[0]" : ""); in compareSharedBlocks() local 1668 int refBlockNdx = refLayout.getBlockIndex(instanceName.c_str()); in compareSharedBlocks() 1669 int cmpBlockNdx = cmpLayout.getBlockIndex(instanceName.c_str()); in compareSharedBlocks() 1682 log << TestLog::Message << "Error: Uniform block '" << instanceName << "' not found" << TestLog::EndMessage; in compareSharedBlocks() 1694 log << TestLog::Message << "Error: Number of active uniforms differ in block '" << instanceName in compareSharedBlocks() 1745 std::ostringstream instanceName; compareTypes() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_framework.py | 2341 self.instanceName = 'd' + compositeObject.name[11:] 2419 structureDefinitions.append(structureName + nameSpacing + structureDetail.instanceName + '[count];') 2435 clearStructures.append('\tdeMemset(&' + structureDetail.instanceName + '[ndx], 0xFF * ndx, sizeof(' + structureName + '));') 2439 nextInstanceName = '&' + testedStructureDetail[index+1].instanceName + '[ndx]' 2441 '\t\t' + structureDetail.instanceName + '[ndx].sType = ' + structureDetail.flagName + ' ? ' + structureDetail.sType + ' : VK_STRUCTURE_TYPE_MAX_ENUM;', 2442 '\t\t' + structureDetail.instanceName + '[ndx].pNext = DE_NULL;']) 2446 '\t\tlog << TestLog::Message << ' + structureDetail.instanceName + '[0] << TestLog::EndMessage;' 2454 verifyStructure.append(prefix + structureDetail.instanceName + '[0].' + m + ' != ' + structureDetail.instanceName + '[1].' + m + postfix) 2465 stream.append("tcu::TestStatus testPhysicalDeviceFeature" + x.instanceName[le [all...] |
H A D | ohos_gen_framework.py | 1998 self.instanceName = 'd' + compositeObject.name[11:] 2069 structureDefinitions.append(structureName + nameSpacing + structureDetail.instanceName + '[count];') 2085 clearStructures.append('\tdeMemset(&' + structureDetail.instanceName + '[ndx], 0xFF * ndx, sizeof(' + structureName + '));') 2089 nextInstanceName = '&' + testedStructureDetail[index+1].instanceName + '[ndx]' 2091 '\t\t' + structureDetail.instanceName + '[ndx].sType = ' + structureDetail.flagName + ' ? ' + structureDetail.sType + ' : VK_STRUCTURE_TYPE_MAX_ENUM;', 2092 '\t\t' + structureDetail.instanceName + '[ndx].pNext = DE_NULL;']) 2096 '\t\tlog << TestLog::Message << ' + structureDetail.instanceName + '[0] << TestLog::EndMessage;' 2104 verifyStructure.append(prefix + structureDetail.instanceName + '[0].' + m + ' != ' + structureDetail.instanceName + '[1].' + m + postfix) 2115 stream.append("tcu::TestStatus testPhysicalDeviceFeature" + x.instanceName[le [all...] |
H A D | gen_framework_sc.py | 2092 self.instanceName = 'd' + name[11:] 2150 structureDefinitions.append(structureDetail.name + nameSpacing + structureDetail.instanceName + '[count];') 2169 clearStructures.append('\tdeMemset(&' + structureDetail.instanceName + '[ndx], 0xFF * ndx, sizeof(' + structureDetail.name + '));') 2173 nextInstanceName = '&' + testedStructureDetail[index+1].instanceName + '[ndx]' 2175 '\t\t' + structureDetail.instanceName + '[ndx].sType = ' + structureDetail.flagName + ' ? ' + structureDetail.sType + ' : VK_STRUCTURE_TYPE_MAX_ENUM;', 2176 '\t\t' + structureDetail.instanceName + '[ndx].pNext = DE_NULL;']) 2180 '\t\tlog << TestLog::Message << ' + structureDetail.instanceName + '[0] << TestLog::EndMessage;' 2188 verifyStructure.append(prefix + structureDetail.instanceName + '[0].' + m + ' != ' + structureDetail.instanceName + '[1].' + m + postfix) 2199 stream.append("tcu::TestStatus testPhysicalDeviceFeature" + x.instanceName[le [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | Types.h | 189 TInterfaceBlock(const TString *name, TFieldList *fields, const TString *instanceName, in TInterfaceBlock() argument 192 mInstanceName(instanceName), in TInterfaceBlock() 199 const TString &instanceName() const in instanceName() function in TInterfaceBlock
|
/third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
H A D | ShaderVars.h | 282 std::string instanceName; member
|
/third_party/glslang/glslang/MachineIndependent/ |
H A D | ParseHelper.h | 413 void redeclareBuiltinBlock(const TSourceLoc&, TTypeList& typeList, const TString& blockName, const TString* instanceName, TArraySizes* arraySizes); 453 void declareBlock(const TSourceLoc&, TTypeList& typeList, const TString* instanceName = nullptr, TArraySizes* arraySizes = nullptr); 456 void blockQualifierCheck(const TSourceLoc&, const TQualifier&, bool instanceName);
|
H A D | ParseHelper.cpp | 4969 const TString* instanceName, TArraySizes* arraySizes) in redeclareBuiltinBlock() 4984 if (instanceName && ! builtInName(*instanceName)) { in redeclareBuiltinBlock() 4985 error(loc, "cannot redeclare a built-in block with a user name", instanceName->c_str(), ""); in redeclareBuiltinBlock() 4993 if (instanceName) in redeclareBuiltinBlock() 4994 block = symbolTable.find(*instanceName, &builtIn); in redeclareBuiltinBlock() 5000 const char* errorName = instanceName ? instanceName->c_str() : newTypeList.front().type->getFieldName().c_str(); in redeclareBuiltinBlock() 5136 if (instanceName) in redeclareBuiltinBlock() 8802 void TParseContext::declareBlock(const TSourceLoc& loc, TTypeList& typeList, const TString* instanceName, in declareBlock() argument 4968 redeclareBuiltinBlock(const TSourceLoc& loc, TTypeList& newTypeList, const TString& blockName, const TString* instanceName, TArraySizes* arraySizes) redeclareBuiltinBlock() argument 9095 blockStorageRemap(const TSourceLoc&, const TString* instanceName, TQualifier& qualifier) blockStorageRemap() argument [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluVarType.hpp | 279 std::string instanceName; member
|