Home
last modified time | relevance | path

Searched refs:IdRef (Results 1 – 10 of 10) sorted by relevance

/external/angle/src/common/spirv/
Dspirv_instruction_parser_autogen.h28 IdRef *file,
31 void ParseName(const uint32_t *_instruction, IdRef *target, LiteralString *name);
33 IdRef *type,
38 IdRef *file,
46 IdRef *set,
54 IdRef *entryPoint,
58 IdRef *entryPoint,
71 IdRef *componentType,
75 IdRef *columnType,
79 IdRef *sampledType,
[all …]
Dspirv_instruction_builder_autogen.h30 const IdRef *file,
33 void WriteName(Blob *blob, IdRef target, LiteralString name);
34 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name);
36 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column);
42 IdRef set,
50 IdRef entryPoint,
54 IdRef entryPoint,
64 IdRef componentType,
66 void WriteTypeMatrix(Blob *blob, IdResult idResult, IdRef columnType, LiteralInteger columnCount);
69 IdRef sampledType,
[all …]
Dspirv_instruction_parser_autogen.cpp52 IdRef *file, in ParseSource()
64 *file = IdRef(_instruction[_o++]); in ParseSource()
84 void ParseName(const uint32_t *_instruction, IdRef *target, LiteralString *name) in ParseName()
91 *target = IdRef(_instruction[_o++]); in ParseName()
97 IdRef *type, in ParseMemberName()
106 *type = IdRef(_instruction[_o++]); in ParseMemberName()
125 IdRef *file, in ParseLine()
134 *file = IdRef(_instruction[_o++]); in ParseLine()
164 IdRef *set, in ParseExtInst()
175 *set = IdRef(_instruction[_o++]); in ParseExtInst()
[all …]
Dspirv_instruction_builder_autogen.cpp84 const IdRef *file, in WriteSource()
118 void WriteName(Blob *blob, IdRef target, LiteralString name) in WriteName()
131 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name) in WriteMemberName()
158 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column) in WriteLine()
195 IdRef set, in WriteExtInst()
223 IdRef entryPoint, in WriteEntryPoint()
244 IdRef entryPoint, in WriteExecutionMode()
298 IdRef componentType, in WriteTypeVector()
308 void WriteTypeMatrix(Blob *blob, IdResult idResult, IdRef columnType, LiteralInteger columnCount) in WriteTypeMatrix()
319 IdRef sampledType, in WriteTypeImage()
[all …]
Dspirv_types.h52 using IdRef = BoxedUint32<IdRefHelper>; variable
63 using IdResult = IdRef;
64 using IdResultType = IdRef;
65 using IdMemorySemantics = IdRef;
66 using IdScope = IdRef;
78 IdRef id;
83 IdRef id;
89 IdRef id1;
90 IdRef id2;
101 using IdRefList = FastVectorHelper<IdRef>;
/external/angle/src/compiler/translator/
DBuildSPIRV.h108 spirv::IdRef id;
119 spirv::IdRef id;
207 spirv::IdRef id;
233 spirv::IdRef labelId;
264 std::vector<spirv::IdRef> blockIds;
297 spirv::IdRef getNewId(const SpirvDecorations &decorations);
301 spirv::IdRef getBasicTypeId(TBasicType basicType, size_t size);
302 spirv::IdRef getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass);
303 spirv::IdRef getFunctionTypeId(spirv::IdRef returnTypeId, const spirv::IdRefList &paramTypeIds);
309 spirv::IdRef getExtInstImportIdStd();
[all …]
DOutputSPIRV.cpp44 SpirvIdOrLiteral(const spirv::IdRef idIn) : id(idIn) {} in SpirvIdOrLiteral()
47 spirv::IdRef id;
78 spirv::IdRef dynamicComponent;
82 spirv::IdRef baseTypeId;
83 spirv::IdRef preSwizzleTypeId;
84 spirv::IdRef postSwizzleTypeId;
85 spirv::IdRef postDynamicComponentTypeId;
89 spirv::IdRef accessChainId;
114 spirv::IdRef baseId;
128 spirv::IdRef functionTypeId;
[all …]
DBuildSPIRV.cpp172 spirv::IdRef blockTypeId, in Encode()
380 spirv::IdRef SPIRVBuilder::getNewId(const SpirvDecorations &decorations) in getNewId()
382 spirv::IdRef newId = mNextAvailableId; in getNewId()
383 mNextAvailableId = spirv::IdRef(mNextAvailableId + 1); in getNewId()
477 spirv::IdRef SPIRVBuilder::getBasicTypeId(TBasicType basicType, size_t size) in getBasicTypeId()
485 spirv::IdRef SPIRVBuilder::getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass) in getTypePointerId()
492 const spirv::IdRef typePointerId = getNewId({}); in getTypePointerId()
502 spirv::IdRef SPIRVBuilder::getFunctionTypeId(spirv::IdRef returnTypeId, in getFunctionTypeId()
510 const spirv::IdRef functionTypeId = getNewId({}); in getFunctionTypeId()
540 spirv::IdRef SPIRVBuilder::getExtInstImportIdStd() in getExtInstImportIdStd()
[all …]
/external/angle/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp893 static spirv::IdRef GetNewId(spirv::Blob *blob);
894 spirv::IdRef getNewId();
974 spirv::IdRef SpirvTransformerBase::GetNewId(spirv::Blob *blob) in GetNewId()
976 return spirv::IdRef((*blob)[kHeaderIndexIndexBound]++); in GetNewId()
979 spirv::IdRef SpirvTransformerBase::getNewId() in getNewId()
1007 void visitDecorate(spirv::IdRef id, spv::Decoration decoration);
1008 void visitName(spirv::IdRef id, const spirv::LiteralString &name);
1010 spirv::IdRef id,
1013 void visitTypeArray(spirv::IdResult id, spirv::IdRef elementType, spirv::IdRef length);
1018 void visitTypePointer(spirv::IdResult id, spv::StorageClass storageClass, spirv::IdRef typeId);
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp645 entryPointIds.push_back(spirv::IdRef(kIdColor0Out + colorIndex)); in InsertPreamble()
649 entryPointIds.push_back(spirv::IdRef(kIdDepthOut)); in InsertPreamble()
653 entryPointIds.push_back(spirv::IdRef(kIdStencilOut)); in InsertPreamble()
655 spirv::WriteEntryPoint(blobOut, spv::ExecutionModelFragment, spirv::IdRef(kIdMain), "main", in InsertPreamble()
658 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeOriginUpperLeft, in InsertPreamble()
662 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeDepthReplacing, in InsertPreamble()
669 void InsertInputDecorations(spirv::IdRef id, in InsertInputDecorations()
684 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdColor0Out + colorIndex), spv::DecorationLocation, in InsertColorDecorations()
687 InsertInputDecorations(spirv::IdRef(kIdColor0In + colorIndex), colorIndex, colorIndex, blobOut); in InsertColorDecorations()
699 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdDepthOut), spv::DecorationBuiltIn, in InsertDepthStencilDecorations()
[all …]