Home
last modified time | relevance | path

Searched refs:InterfaceBlock (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgramLinkedResources.h25 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> *uniformBlocksOu
[all...]
H A DUniform.cpp131 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()
H A DShader.h78 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();
H A DUniform.h115 struct InterfaceBlock : public ShaderVariableBuffer struct
117 InterfaceBlock();
118 InterfaceBlock(const std::string &nameIn,
H A DProgramExecutable.h209 const std::vector<InterfaceBlock> &getUniformBlocks() const { return mUniformBlocks; } in getUniformBlocks()
244 const std::vector<InterfaceBlock> &getShaderStorageBlocks() const
287 const std::vector<sh::InterfaceBlock> &getLinkedUniformBlocks(ShaderType shaderType) const
430 std::vector<InterfaceBlock> mUniformBlocks;
437 std::vector<InterfaceBlock> mShaderStorageBlocks;
458 ShaderMap<std::vector<sh::InterfaceBlock>> mLinkedUniformBlocks;
H A DProgram.h103 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;
H A DProgramLinkedResources.cpp574 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 in defineInterfaceBlock()
[all...]
/third_party/skia/third_party/externals/angle2/include/GLSLANG/
H A DShaderVars.h160 // Decide whether two InterfaceBlock fields are the same at shader
261 struct InterfaceBlock struct
263 InterfaceBlock();
264 ~InterfaceBlock();
265 InterfaceBlock(const InterfaceBlock &other);
266 InterfaceBlock &operator=(const InterfaceBlock &other);
273 bool isSameInterfaceBlockAtLinkTime(const InterfaceBlock &other) const;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DShaderVars.cpp472 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
[all...]
H A DCompiler.h130 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;
H A DCollectVariables.cpp87 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> *shaderStorageBlock in CollectVariablesTraverser()
[all...]
H A DCollectVariables.h28 std::vector<InterfaceBlock> *uniformBlocks,
29 std::vector<InterfaceBlock> *shaderStorageBlocks,
H A DShaderStorageBlockOutputHLSL.h44 const std::vector<InterfaceBlock> &shaderStorageBlocks);
82 const std::vector<InterfaceBlock> &mShaderStorageBlocks;
H A DShaderStorageBlockOutputHLSL.cpp136 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()
275 // Find the sh::InterfaceBlock. 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/
H A Des31fProgramInterfaceDefinitionUtil.hpp47 VariablePathComponent (const glu::InterfaceBlock* block) :m_type(TYPE_INTERFACEBLOCK) { m_data.block = block; } in VariablePathComponent()
58 const glu::InterfaceBlock* getInterfaceBlock (void) const { DE_ASSERT(isInterfaceBlock()); return m_data.block; } in getInterfaceBlock()
74 const glu::InterfaceBlock* block;
98 bool matchesFilter (const glu::InterfaceBlock& block) const;
176 std::vector<std::string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& interfaceBlock);
H A Des31fProgramInterfaceDefinitionUtil.cpp105 bool VariableSearchFilter::matchesFilter (const glu::InterfaceBlock& block) const
376 static void writeInterfaceBlock (std::ostringstream& buf, const glu::InterfaceBlock& interfaceBlock)
400 static bool isReadableInterface (const glu::InterfaceBlock& interface)
408 static bool isWritableInterface (const glu::InterfaceBlock& interface)
533 const glu::InterfaceBlock& block,
666 const glu::InterfaceBlock& block,
989 bool operator() (const glu::InterfaceBlock& b) const
1137 static int getBufferSize (const glu::InterfaceBlock& block, glu::MatrixOrder blockOrder)
1283 std::vector<std::string> getProgramInterfaceBlockMemberResourceList (const glu::InterfaceBlock& interfaceBlock)
1330 const glu::InterfaceBlock
[all...]
/third_party/skia/src/sksl/ir/
H A DSkSLInterfaceBlock.h30 class InterfaceBlock final : public ProgramElement {
34 InterfaceBlock(int line, const Variable& var, skstd::string_view typeName, in InterfaceBlock() function in SkSL::final
65 return std::make_unique<InterfaceBlock>(fLine, this->variable(), this->typeName(),
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.hpp189 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()
H A DvktTransformFeedbackFuzzLayoutTests.cpp53 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockBasicTypeCase()
98 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleStructCase()
126 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleStructArrayCase()
160 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleNestedStructCase()
193 InterfaceBlock& block = m_interface.allocBlock("Block"); in BlockSingleNestedStructArrayCase()
220 InterfaceBlock& blockA = m_interface.allocBlock("BlockA"); in BlockMultiBasicTypesCase()
227 InterfaceBlock& blockB = m_interface.allocBlock("BlockB"); in BlockMultiBasicTypesCase()
264 InterfaceBlock& blockA = m_interface.allocBlock("BlockA"); in BlockMultiNestedStructCase()
271 InterfaceBlock& blockB = m_interface.allocBlock("BlockB"); in BlockMultiNestedStructCase()
309 InterfaceBlock in BlockVariousBuffersCase()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.hpp189 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()
H A DvktTransformFeedbackFuzzLayoutTests.cpp54 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 in BlockVariousBuffersCase()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
H A DRemoveInactiveInterfaceVariables.cpp32 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()
H A DRemoveInactiveInterfaceVariables.h23 struct InterfaceBlock;
37 const std::vector<sh::InterfaceBlock> &interfaceBlocks,
/third_party/skia/src/sksl/codegen/
H A DSkSLMetalCodeGenerator.h35 class InterfaceBlock;
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/
H A DCollectVariables_test.cpp330 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 in TEST_F()
[all...]

Completed in 20 milliseconds

1234