Home
last modified time | relevance | path

Searched refs:BlockLayoutEncoder (Results 1 – 13 of 13) sorted by relevance

/external/angle/src/compiler/translator/
Dblocklayout.h73 class BlockLayoutEncoder
76 BlockLayoutEncoder();
77 virtual ~BlockLayoutEncoder() {} in ~BlockLayoutEncoder()
119 class StubBlockEncoder : public BlockLayoutEncoder
145 class Std140BlockEncoder : public BlockLayoutEncoder
183 BlockLayoutEncoder *encoder,
189 BlockLayoutEncoder *encoder,
261 BlockLayoutEncoder *encoder);
288 BlockLayoutEncoder *mEncoder;
Dblocklayout.cpp26 BlockLayoutEncoder *encoder) in BlockLayoutMapVisitor()
49 BlockLayoutEncoder *encoder, in GetInterfaceBlockInfo()
181 BlockLayoutEncoder::BlockLayoutEncoder() : mCurrentOffset(0) {} in BlockLayoutEncoder() function in sh::BlockLayoutEncoder
183 BlockMemberInfo BlockLayoutEncoder::encodeType(GLenum type, in encodeType()
202 BlockMemberInfo BlockLayoutEncoder::encodeArrayOfPreEncodedStructs( in encodeArrayOfPreEncodedStructs()
220 size_t BlockLayoutEncoder::getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor) in getShaderVariableSize()
234 size_t BlockLayoutEncoder::GetBlockRegister(const BlockMemberInfo &info) in GetBlockRegister()
240 size_t BlockLayoutEncoder::GetBlockRegisterElement(const BlockMemberInfo &info) in GetBlockRegisterElement()
245 void BlockLayoutEncoder::align(size_t baseAlignment) in align()
369 BlockLayoutEncoder *encoder, in GetInterfaceBlockInfo()
[all …]
DblocklayoutHLSL.h27 class HLSLBlockEncoder : public BlockLayoutEncoder
DShaderStorageBlockOutputHLSL.cpp99 sh::BlockLayoutEncoder *encoder = nullptr; in GetBlockMemberInfoByType()
205 BlockLayoutEncoder *getEncoder(TLayoutBlockStorage storage) in getEncoder()
619 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput()
634 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput()
DBuildSPIRV.cpp177 BlockLayoutEncoder *encoder = isStd140 ? &std140 : &std430; in Encode()
236 BlockLayoutEncoder *encoder = isStd140 ? &std140 : &std430; in GetArrayStrideInBlock()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.h99 class BlockLayoutEncoder
102 BlockLayoutEncoder();
103 virtual ~BlockLayoutEncoder() {} in ~BlockLayoutEncoder()
129 class Std140BlockEncoder : public BlockLayoutEncoder
317 …ing &name, int registerIndex, bool samplersOnly, int blockId = -1, BlockLayoutEncoder* encoder = n…
DOutputASM.cpp290 BlockLayoutEncoder::BlockLayoutEncoder() in BlockLayoutEncoder() function in glsl::BlockLayoutEncoder
295 BlockMemberInfo BlockLayoutEncoder::encodeType(const TType &type) in encodeType()
314 size_t BlockLayoutEncoder::getBlockRegister(const BlockMemberInfo &info) in getBlockRegister()
320 size_t BlockLayoutEncoder::getBlockRegisterElement(const BlockMemberInfo &info) in getBlockRegisterElement()
325 void BlockLayoutEncoder::nextRegister() in nextRegister()
330 Std140BlockEncoder::Std140BlockEncoder() : BlockLayoutEncoder() in Std140BlockEncoder()
3705 …onst TString &name, int registerIndex, bool samplersOnly, int blockId, BlockLayoutEncoder* encoder) in declareUniform()
3719 …coder ? shaderObject->activeUniformBlocks[blockId].registerIndex + BlockLayoutEncoder::getBlockReg… in declareUniform()
/external/angle/src/libANGLE/
DProgramLinkedResources.h23 class BlockLayoutEncoder; variable
244 virtual sh::BlockLayoutEncoder *makeEncoder() = 0;
DProgramLinkedResources.cpp613 sh::BlockLayoutEncoder *customEncoder = nullptr; in getBlockInfo()
614 sh::BlockLayoutEncoder *encoder = nullptr; in getBlockInfo()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp2077 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()
2093 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()
/external/angle/src/libANGLE/renderer/d3d/
DProgramD3D.cpp217 sh::BlockLayoutEncoder *encoder, in UniformEncodingVisitorD3D()
258 sh::BlockLayoutEncoder::GetBlockRegisterElement(variableInfo)); in encodeVariable()
260 static_cast<unsigned int>(sh::BlockLayoutEncoder::GetBlockRegister(variableInfo)); in encodeVariable()
275 sh::BlockLayoutEncoder *makeEncoder() override in makeEncoder()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramVk.cpp136 sh::BlockLayoutEncoder *makeEncoder() override { return new sh::Std140BlockEncoder(); } in makeEncoder()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm168 sh::BlockLayoutEncoder *makeEncoder() override { return new sh::Std140BlockEncoder(); }