Home
last modified time | relevance | path

Searched refs:IdRef (Results 1 – 11 of 11) 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.cpp85 const IdRef *file, in WriteSource()
119 void WriteName(Blob *blob, IdRef target, LiteralString name) in WriteName()
132 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name) in WriteMemberName()
159 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column) in WriteLine()
196 IdRef set, in WriteExtInst()
224 IdRef entryPoint, in WriteEntryPoint()
245 IdRef entryPoint, in WriteExecutionMode()
299 IdRef componentType, in WriteTypeVector()
309 void WriteTypeMatrix(Blob *blob, IdResult idResult, IdRef columnType, LiteralInteger columnCount) in WriteTypeMatrix()
320 IdRef sampledType, in WriteTypeImage()
[all …]
Dspirv_types.h55 using IdRef = BoxedUint32<IdRefHelper>; variable
66 using IdResult = IdRef;
67 using IdResultType = IdRef;
68 using IdMemorySemantics = IdRef;
69 using IdScope = IdRef;
81 IdRef id;
86 IdRef id;
92 IdRef id1;
93 IdRef id2;
104 using IdRefList = FastVectorHelper<IdRef>;
/external/angle/src/compiler/translator/spirv/
DBuildSPIRV.h117 spirv::IdRef id;
128 spirv::IdRef id;
220 spirv::IdRef id;
248 spirv::IdRef labelId;
279 std::vector<spirv::IdRef> blockIds;
313 spirv::IdRef getNewId(const SpirvDecorations &decorations);
314 spirv::IdRef getReservedOrNewId(TSymbolUniqueId uniqueId, const SpirvDecorations &decorations);
320 spirv::IdRef getBasicTypeId(TBasicType basicType, size_t size);
321 spirv::IdRef getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass);
322 spirv::IdRef getFunctionTypeId(spirv::IdRef returnTypeId, const spirv::IdRefList &paramTypeIds);
[all …]
DOutputSPIRV.cpp46 SpirvIdOrLiteral(const spirv::IdRef idIn) : id(idIn) {} in SpirvIdOrLiteral()
49 spirv::IdRef id;
80 spirv::IdRef dynamicComponent;
84 spirv::IdRef baseTypeId;
85 spirv::IdRef preSwizzleTypeId;
86 spirv::IdRef postSwizzleTypeId;
87 spirv::IdRef postDynamicComponentTypeId;
91 spirv::IdRef accessChainId;
116 spirv::IdRef baseId;
130 spirv::IdRef functionTypeId;
[all …]
DBuildSPIRV.cpp154 spirv::IdRef blockTypeId, in Encode()
354 spirv::IdRef id, in WriteInterpolationDecoration()
369 void ApplyDecorations(spirv::IdRef id, in ApplyDecorations()
540 spirv::IdRef SPIRVBuilder::getNewId(const SpirvDecorations &decorations) in getNewId()
542 spirv::IdRef newId = mNextAvailableId; in getNewId()
543 mNextAvailableId = spirv::IdRef(mNextAvailableId + 1); in getNewId()
550 spirv::IdRef SPIRVBuilder::getReservedOrNewId(TSymbolUniqueId uniqueId, in getReservedOrNewId()
559 const spirv::IdRef reservedId = spirv::IdRef(iter->second); in getReservedOrNewId()
663 spirv::IdRef SPIRVBuilder::getBasicTypeId(TBasicType basicType, size_t size) in getBasicTypeId()
671 spirv::IdRef SPIRVBuilder::getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass) in getTypePointerId()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
Dspv_utils.cpp878 static spirv::IdRef GetNewId(spirv::Blob *blob);
879 spirv::IdRef getNewId();
949 spirv::IdRef SpirvTransformerBase::GetNewId(spirv::Blob *blob) in GetNewId()
951 return spirv::IdRef((*blob)[spirv::kHeaderIndexIndexBound]++); in GetNewId()
954 spirv::IdRef SpirvTransformerBase::getNewId() in getNewId()
1008 spirv::IdRef set; in visitExtInst()
1036 [[maybe_unused]] constexpr spirv::IdRef EntryPoint(sh::vk::spirv::kIdEntryPoint);
1037 [[maybe_unused]] constexpr spirv::IdRef Void(sh::vk::spirv::kIdVoid);
1038 [[maybe_unused]] constexpr spirv::IdRef Float(sh::vk::spirv::kIdFloat);
1039 [[maybe_unused]] constexpr spirv::IdRef Vec2(sh::vk::spirv::kIdVec2);
[all …]
DUtilsVk.cpp720 entryPointIds.push_back(spirv::IdRef(kIdColor0Out + colorIndex)); in InsertPreamble()
724 entryPointIds.push_back(spirv::IdRef(kIdDepthOut)); in InsertPreamble()
728 entryPointIds.push_back(spirv::IdRef(kIdStencilOut)); in InsertPreamble()
730 spirv::WriteEntryPoint(blobOut, spv::ExecutionModelFragment, spirv::IdRef(kIdMain), "main", in InsertPreamble()
733 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeOriginUpperLeft, in InsertPreamble()
737 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeDepthReplacing, in InsertPreamble()
744 void InsertInputDecorations(spirv::IdRef id, in InsertInputDecorations()
762 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdColor0Out + colorIndex), spv::DecorationLocation, in InsertColorDecorations()
765 InsertInputDecorations(spirv::IdRef(kIdColor0In + colorIndex), in InsertColorDecorations()
784 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdStencilOut), spv::DecorationBuiltIn, in InsertDepthStencilDecorations()
[all …]
/external/angle/src/tests/compiler_tests/
DPrecise_test.cpp140 spirv::IdRef type; in ValidateDecorations()
151 spirv::IdRef target; in ValidateDecorations()