| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| D | ProgramLinkedResources.h | 25 struct InterfaceBlock; 38 struct InterfaceBlock; 110 void addShaderBlocks(ShaderType shader, const std::vector<sh::InterfaceBlock> *blocks); 118 void init(std::vector<InterfaceBlock> *blocksOut, 122 const sh::InterfaceBlock &interfaceBlock, 133 ShaderMap<const std::vector<sh::InterfaceBlock> *> mShaderBlocks = {}; 135 std::vector<InterfaceBlock> *mBlocksOut = nullptr; 145 void init(std::vector<InterfaceBlock> *blocksOut, 167 void init(std::vector<InterfaceBlock> *blocksOut, 226 void init(std::vector<InterfaceBlock> *uniformBlocksOut, [all …]
|
| D | Uniform.cpp | 131 InterfaceBlock::InterfaceBlock() : isArray(false), arrayElement(0) {} in InterfaceBlock() function in gl::InterfaceBlock 133 InterfaceBlock::InterfaceBlock(const std::string &nameIn, in InterfaceBlock() function in gl::InterfaceBlock 148 std::string InterfaceBlock::nameWithArrayIndex() const in nameWithArrayIndex() 160 std::string InterfaceBlock::mappedNameWithArrayIndex() const in mappedNameWithArrayIndex()
|
| D | Shader.h | 78 const std::vector<sh::InterfaceBlock> &getUniformBlocks() const { return mUniformBlocks; } in getUniformBlocks() 79 const std::vector<sh::InterfaceBlock> &getShaderStorageBlocks() const in getShaderStorageBlocks() 131 std::vector<sh::InterfaceBlock> mUniformBlocks; 132 std::vector<sh::InterfaceBlock> mShaderStorageBlocks; 213 const std::vector<sh::InterfaceBlock> &getUniformBlocks(); 214 const std::vector<sh::InterfaceBlock> &getShaderStorageBlocks();
|
| D | Uniform.h | 115 struct InterfaceBlock : public ShaderVariableBuffer struct 117 InterfaceBlock(); 118 InterfaceBlock(const std::string &nameIn,
|
| D | ProgramExecutable.h | 209 const std::vector<InterfaceBlock> &getUniformBlocks() const { return mUniformBlocks; } in getUniformBlocks() 244 const std::vector<InterfaceBlock> &getShaderStorageBlocks() const in getShaderStorageBlocks() 287 const std::vector<sh::InterfaceBlock> &getLinkedUniformBlocks(ShaderType shaderType) const in getLinkedUniformBlocks() 430 std::vector<InterfaceBlock> mUniformBlocks; 437 std::vector<InterfaceBlock> mShaderStorageBlocks; 458 ShaderMap<std::vector<sh::InterfaceBlock>> mLinkedUniformBlocks;
|
| D | ProgramLinkedResources.cpp | 574 void getShaderBlockInfo(const std::vector<sh::InterfaceBlock> &interfaceBlocks); 582 size_t getBlockInfo(const sh::InterfaceBlock &interfaceBlock); 591 void InterfaceBlockInfo::getShaderBlockInfo(const std::vector<sh::InterfaceBlock> &interfaceBlocks) in getShaderBlockInfo() 593 for (const sh::InterfaceBlock &interfaceBlock : interfaceBlocks) in getShaderBlockInfo() 606 size_t InterfaceBlockInfo::getBlockInfo(const sh::InterfaceBlock &interfaceBlock) in getBlockInfo() 1197 void InterfaceBlockLinker::init(std::vector<InterfaceBlock> *blocksOut, in init() 1205 const std::vector<sh::InterfaceBlock> *blocks) in addShaderBlocks() 1224 for (const sh::InterfaceBlock &block : *mShaderBlocks[shaderType]) in linkBlocks() 1245 for (InterfaceBlock &priorBlock : *mBlocksOut) in linkBlocks() 1264 const sh::InterfaceBlock &interfaceBlock, in defineInterfaceBlock() [all …]
|
| D | Program.h | 103 bool IsActiveInterfaceBlock(const sh::InterfaceBlock &interfaceBlock); 111 void WriteInterfaceBlock(BinaryOutputStream *stream, const InterfaceBlock &block); 112 void LoadInterfaceBlock(BinaryInputStream *stream, InterfaceBlock *block); 114 void WriteShInterfaceBlock(BinaryOutputStream *stream, const sh::InterfaceBlock &block); 115 void LoadShInterfaceBlock(BinaryInputStream *stream, sh::InterfaceBlock *block); 269 const std::vector<InterfaceBlock> &getUniformBlocks() const in getUniformBlocks() 273 const std::vector<InterfaceBlock> &getShaderStorageBlocks() const in getShaderStorageBlocks() 640 const InterfaceBlock &getUniformBlockByIndex(GLuint index) const; 641 const InterfaceBlock &getShaderStorageBlockByIndex(GLuint index) const;
|
| /third_party/skia/third_party/externals/angle2/include/GLSLANG/ |
| D | ShaderVars.h | 261 struct InterfaceBlock struct 263 InterfaceBlock(); 264 ~InterfaceBlock(); 265 InterfaceBlock(const InterfaceBlock &other); 266 InterfaceBlock &operator=(const InterfaceBlock &other); argument 273 bool isSameInterfaceBlockAtLinkTime(const InterfaceBlock &other) const;
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| D | ShaderVars.cpp | 472 InterfaceBlock::InterfaceBlock() in InterfaceBlock() function in sh::InterfaceBlock 482 InterfaceBlock::~InterfaceBlock() {} in ~InterfaceBlock() 484 InterfaceBlock::InterfaceBlock(const InterfaceBlock &other) in InterfaceBlock() function in sh::InterfaceBlock 498 InterfaceBlock &InterfaceBlock::operator=(const InterfaceBlock &other) in operator =() 514 std::string InterfaceBlock::fieldPrefix() const in fieldPrefix() 519 std::string InterfaceBlock::fieldMappedPrefix() const in fieldMappedPrefix() 524 bool InterfaceBlock::isSameInterfaceBlockAtLinkTime(const InterfaceBlock &other) const in isSameInterfaceBlockAtLinkTime() 545 bool InterfaceBlock::isBuiltIn() const in isBuiltIn()
|
| D | Compiler.h | 130 const std::vector<sh::InterfaceBlock> &getInterfaceBlocks() const { return mInterfaceBlocks; } in getInterfaceBlocks() 131 const std::vector<sh::InterfaceBlock> &getUniformBlocks() const { return mUniformBlocks; } in getUniformBlocks() 132 const std::vector<sh::InterfaceBlock> &getShaderStorageBlocks() const in getShaderStorageBlocks() 230 std::vector<sh::InterfaceBlock> mInterfaceBlocks; 231 std::vector<sh::InterfaceBlock> mUniformBlocks; 232 std::vector<sh::InterfaceBlock> mShaderStorageBlocks;
|
| D | CollectVariables.cpp | 87 std::vector<InterfaceBlock> *infoList) in FindVariableInInterfaceBlock() 90 InterfaceBlock *namedBlock = FindVariable(interfaceBlock->name(), infoList); in FindVariableInInterfaceBlock() 122 std::vector<InterfaceBlock> *uniformBlocks, 123 std::vector<InterfaceBlock> *shaderStorageBlocks, 160 InterfaceBlock *interfaceBlock) const; 170 InterfaceBlock *findNamedInterfaceBlock(const ImmutableString &name) const; 178 std::vector<InterfaceBlock> *mUniformBlocks; 179 std::vector<InterfaceBlock> *mShaderStorageBlocks; 258 std::vector<sh::InterfaceBlock> *uniformBlocks, in CollectVariablesTraverser() 259 std::vector<sh::InterfaceBlock> *shaderStorageBlocks, in CollectVariablesTraverser() [all …]
|
| D | CollectVariables.h | 28 std::vector<InterfaceBlock> *uniformBlocks, 29 std::vector<InterfaceBlock> *shaderStorageBlocks,
|
| D | ShaderStorageBlockOutputHLSL.h | 44 const std::vector<InterfaceBlock> &shaderStorageBlocks); 82 const std::vector<InterfaceBlock> &mShaderStorageBlocks;
|
| D | ShaderStorageBlockOutputHLSL.cpp | 136 const InterfaceBlock *FindInterfaceBlock(const TInterfaceBlock *needle, in FindInterfaceBlock() 137 const std::vector<InterfaceBlock> &haystack) in FindInterfaceBlock() 139 for (const InterfaceBlock &block : haystack) in FindInterfaceBlock() 272 const std::vector<InterfaceBlock> &shaderStorageBlocks, in GetShaderStorageBlockMembersInfo() 276 const InterfaceBlock *block = FindInterfaceBlock(interfaceBlock, shaderStorageBlocks); in GetShaderStorageBlockMembersInfo() 307 const std::vector<InterfaceBlock> &shaderStorageBlocks) in ShaderStorageBlockOutputHLSL()
|
| /third_party/vk-gl-cts/modules/gles31/functional/ |
| D | es31fProgramInterfaceDefinitionUtil.hpp | 47 …VariablePathComponent (const glu::InterfaceBlock* block) :m_type(TYPE_INTERFACEBLOCK) { m_data.bl… in VariablePathComponent() 58 …const glu::InterfaceBlock* getInterfaceBlock (void) const { DE_ASSERT(isInterfaceBlock()); retur… in getInterfaceBlock() 74 const glu::InterfaceBlock* block; 98 bool matchesFilter (const glu::InterfaceBlock& block) const; 176 …string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& interfaceBloc…
|
| D | es31fProgramInterfaceDefinitionUtil.cpp | 105 bool VariableSearchFilter::matchesFilter (const glu::InterfaceBlock& block) const in matchesFilter() 376 static void writeInterfaceBlock (std::ostringstream& buf, const glu::InterfaceBlock& interfaceBlock) in writeInterfaceBlock() 400 static bool isReadableInterface (const glu::InterfaceBlock& interface) in isReadableInterface() 408 static bool isWritableInterface (const glu::InterfaceBlock& interface) in isWritableInterface() 533 const glu::InterfaceBlock& block, in writeInterfaceReadAccumulateExpression() 666 const glu::InterfaceBlock& block, in writeInterfaceWriteExpression() 989 bool operator() (const glu::InterfaceBlock& b) const in operator ()() 1137 static int getBufferSize (const glu::InterfaceBlock& block, glu::MatrixOrder blockOrder) in getBufferSize() 1283 std::vector<std::string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& int… in getProgramInterfaceBlockMemberResourceList() 1330 …const glu::InterfaceBlock& interfaceBlock = shader->getDefaultBlock().interfaceBlocks[interfaceNdx… in getProgramInterfaceResourceList() [all …]
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
| D | vktTransformFeedbackFuzzLayoutCase.hpp | 189 class InterfaceBlock class 195 InterfaceBlock (const std::string& blockName); 227 typedef de::SharedPtr<InterfaceBlock> InterfaceBlockSP; 238 InterfaceBlock& allocBlock (const std::string& name); 241 const InterfaceBlock& getInterfaceBlock (int ndx) const { return *m_interfaceBlocks[ndx]; } in getInterfaceBlock() 242 InterfaceBlock& getInterfaceBlockForModify (int ndx) { return *m_interfaceBlocks[ndx]; } in getInterfaceBlockForModify()
|
| D | vktTransformFeedbackFuzzLayoutTests.cpp | 54 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockBasicTypeCase() 100 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleStructCase() 129 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleStructArrayCase() 164 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleNestedStructCase() 198 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleNestedStructArrayCase() 226 InterfaceBlock& blockA = m_interface.allocBlock("BlockA"); in BlockMultiBasicTypesCase() 233 InterfaceBlock& blockB = m_interface.allocBlock("BlockB"); in BlockMultiBasicTypesCase() 271 InterfaceBlock& blockA = m_interface.allocBlock("BlockA"); in BlockMultiNestedStructCase() 278 InterfaceBlock& blockB = m_interface.allocBlock("BlockB"); in BlockMultiNestedStructCase() 317 InterfaceBlock& blockA = m_interface.allocBlock("BlockA"); in BlockVariousBuffersCase() [all …]
|
| /third_party/skia/src/sksl/ir/ |
| D | SkSLInterfaceBlock.h | 30 class InterfaceBlock final : public ProgramElement { 34 InterfaceBlock(int line, const Variable& var, skstd::string_view typeName, in InterfaceBlock() function 65 return std::make_unique<InterfaceBlock>(fLine, this->variable(), this->typeName(), in clone()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
| D | RemoveInactiveInterfaceVariables.cpp | 32 const std::vector<sh::InterfaceBlock> &interfaceBlocks, 43 const std::vector<sh::InterfaceBlock> &mInterfaceBlocks; 53 const std::vector<sh::InterfaceBlock> &interfaceBlocks, in RemoveInactiveInterfaceVariablesTraverser() 199 const std::vector<sh::InterfaceBlock> &interfaceBlocks, in RemoveInactiveInterfaceVariables()
|
| D | RemoveInactiveInterfaceVariables.h | 23 struct InterfaceBlock; 37 const std::vector<sh::InterfaceBlock> &interfaceBlocks,
|
| /third_party/skia/src/sksl/codegen/ |
| D | SkSLMetalCodeGenerator.h | 35 class InterfaceBlock; variable 99 const InterfaceBlock* parentIntf = nullptr); 119 void writeInterfaceBlock(const InterfaceBlock& intf); 266 std::unordered_map<const Type::Field*, const InterfaceBlock*> fInterfaceBlockMap; 267 std::unordered_map<const InterfaceBlock*, skstd::string_view> fInterfaceBlockNameMap;
|
| /third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
| D | CollectVariables_test.cpp | 330 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() 333 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F() 367 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() 370 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F() 406 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() 409 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F() 453 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() 456 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F() 501 const std::vector<InterfaceBlock> &interfaceBlocks = mTranslator->getInterfaceBlocks(); in TEST_F() 504 const InterfaceBlock &interfaceBlock = interfaceBlocks[0]; in TEST_F() [all …]
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
| D | DriverUniform.cpp | 165 if (mMode == DriverUniformMode::InterfaceBlock) in addGraphicsDriverUniformsToShader() 195 if (mMode == DriverUniformMode::InterfaceBlock) in createDriverUniformRef() 210 if (mMode == DriverUniformMode::InterfaceBlock) in createDriverUniformRef()
|
| /third_party/skia/src/sksl/analysis/ |
| D | SkSLProgramUsage.cpp | 34 } else if (pe.is<InterfaceBlock>()) { in visitProgramElement() 36 fUsage->fVariableCounts[&pe.as<InterfaceBlock>().variable()]; in visitProgramElement()
|