Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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>;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.h115 spirv::IdRef id;
126 spirv::IdRef id;
218 spirv::IdRef id;
244 spirv::IdRef labelId;
275 std::vector<spirv::IdRef> blockIds;
306 spirv::IdRef getNewId(const SpirvDecorations &decorations);
312 spirv::IdRef getBasicTypeId(TBasicType basicType, size_t size);
313 spirv::IdRef getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass);
314 spirv::IdRef getFunctionTypeId(spirv::IdRef returnTypeId, const spirv::IdRefList &paramTypeIds);
322 spirv::IdRef getExtInstImportIdStd();
[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()
510 spirv::IdRef SPIRVBuilder::getNewId(const SpirvDecorations &decorations) in getNewId()
512 spirv::IdRef newId = mNextAvailableId; in getNewId()
513 mNextAvailableId = spirv::IdRef(mNextAvailableId + 1); in getNewId()
618 spirv::IdRef SPIRVBuilder::getBasicTypeId(TBasicType basicType, size_t size) in getBasicTypeId()
626 spirv::IdRef SPIRVBuilder::getTypePointerId(spirv::IdRef typeId, spv::StorageClass storageClass) in getTypePointerId()
633 const spirv::IdRef typePointerId = getNewId({}); in getTypePointerId()
643 spirv::IdRef SPIRVBuilder::getFunctionTypeId(spirv::IdRef returnTypeId, in getFunctionTypeId()
651 const spirv::IdRef functionTypeId = getNewId({}); in getFunctionTypeId()
718 spirv::IdRef SPIRVBuilder::getExtInstImportIdStd() in getExtInstImportIdStd()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp950 static spirv::IdRef GetNewId(spirv::Blob *blob);
951 spirv::IdRef getNewId();
1021 spirv::IdRef SpirvTransformerBase::GetNewId(spirv::Blob *blob) in GetNewId()
1023 return spirv::IdRef((*blob)[spirv::kHeaderIndexIndexBound]++); in GetNewId()
1026 spirv::IdRef SpirvTransformerBase::getNewId() in getNewId()
1054 void visitDecorate(spirv::IdRef id, spv::Decoration decoration);
1055 void visitName(spirv::IdRef id, const spirv::LiteralString &name);
1057 spirv::IdRef id,
1060 void visitTypeArray(spirv::IdResult id, spirv::IdRef elementType, spirv::IdRef length);
1065 void visitTypePointer(spirv::IdResult id, spv::StorageClass storageClass, spirv::IdRef typeId);
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp637 entryPointIds.push_back(spirv::IdRef(kIdColor0Out + colorIndex)); in InsertPreamble()
641 entryPointIds.push_back(spirv::IdRef(kIdDepthOut)); in InsertPreamble()
645 entryPointIds.push_back(spirv::IdRef(kIdStencilOut)); in InsertPreamble()
647 spirv::WriteEntryPoint(blobOut, spv::ExecutionModelFragment, spirv::IdRef(kIdMain), "main", in InsertPreamble()
650 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeOriginUpperLeft, in InsertPreamble()
654 spirv::WriteExecutionMode(blobOut, spirv::IdRef(kIdMain), spv::ExecutionModeDepthReplacing, in InsertPreamble()
661 void InsertInputDecorations(spirv::IdRef id, in InsertInputDecorations()
676 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdColor0Out + colorIndex), spv::DecorationLocation, in InsertColorDecorations()
679 InsertInputDecorations(spirv::IdRef(kIdColor0In + colorIndex), colorIndex, colorIndex, blobOut); in InsertColorDecorations()
691 spirv::WriteDecorate(blobOut, spirv::IdRef(kIdDepthOut), spv::DecorationBuiltIn, in InsertDepthStencilDecorations()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DPrecise_test.cpp139 spirv::IdRef type; in ValidateDecorations()
150 spirv::IdRef target; in ValidateDecorations()