Home
last modified time | relevance | path

Searched refs:SpvId (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h96 virtual SpvId getPointer() = 0;
98 virtual SpvId load(OutputStream& out) = 0;
100 virtual void store(SpvId value, OutputStream& out) = 0;
147 SpvId nextId();
151 SpvId getType(const Type& type);
153 SpvId getType(const Type& type, const MemoryLayout& layout);
155 SpvId getImageType(const Type& type);
157 SpvId getFunctionType(const FunctionDeclaration& function);
159 SpvId getPointerType(const Type& type, SpvStorageClass_ storageClass);
161 SpvId getPointerType(const Type& type, const MemoryLayout& layout,
[all …]
DSkSLSPIRVCodeGenerator.cpp231 void SPIRVCodeGenerator::writeLabel(SpvId label, OutputStream& out) { in writeLabel()
361 this->writeInstruction(SpvOpCapability, (SpvId) i, out); in writeCapabilities()
372 SpvId SPIRVCodeGenerator::nextId() { in nextId()
377 SpvId resultId) { in writeStruct()
381 std::vector<SpvId> types; in writeStruct()
387 for (SpvId id : types) { in writeStruct()
417 this->writeInstruction(SpvOpMemberDecorate, resultId, (SpvId) i, SpvDecorationOffset, in writeStruct()
418 (SpvId) offset, fDecorationBuffer); in writeStruct()
424 (SpvId) memoryLayout.stride(*field.fType), in writeStruct()
428 this->writeInstruction(SpvOpMemberDecorate, resultId, (SpvId) i, in writeStruct()
[all …]
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.h60 virtual SpvId getPointer() = 0;
62 virtual SpvId load(OutputStream& out) = 0;
64 virtual void store(SpvId value, OutputStream& out) = 0;
105 SpvId nextId();
109 SpvId getType(const Type& type);
111 SpvId getType(const Type& type, const MemoryLayout& layout);
113 SpvId getImageType(const Type& type);
115 SpvId getFunctionType(const FunctionDeclaration& function);
117 SpvId getPointerType(const Type& type, SpvStorageClass_ storageClass);
119 SpvId getPointerType(const Type& type, const MemoryLayout& layout,
[all …]
DSkSLSPIRVCodeGenerator.cpp232 void SPIRVCodeGenerator::writeLabel(SpvId label, OutputStream& out) { in writeLabel()
362 this->writeInstruction(SpvOpCapability, (SpvId) i, out); in writeCapabilities()
373 SpvId SPIRVCodeGenerator::nextId() { in nextId()
378 SpvId resultId) { in writeStruct()
382 std::vector<SpvId> types; in writeStruct()
388 for (SpvId id : types) { in writeStruct()
417 this->writeInstruction(SpvOpMemberDecorate, resultId, (SpvId) i, SpvDecorationOffset, in writeStruct()
418 (SpvId) offset, fDecorationBuffer); in writeStruct()
424 (SpvId) memoryLayout.stride(*type.fields()[i].fType), in writeStruct()
461 SpvId SPIRVCodeGenerator::getType(const Type& type) { in getType()
[all …]
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/deqp-deps/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports()
109 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports()
109 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp54 SpvId id; // ID of the symbol
55 SpvId type_id; // ID of the type of the symbol
58 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if
394 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs()
579 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp54 SpvId id; // ID of the symbol
55 SpvId type_id; // ID of the type of the symbol
58 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if
394 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs()
579 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
/external/deqp-deps/SPIRV-Headers/include/spirv/1.0/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/shaderc/spirv-headers/include/spirv/1.0/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/deqp-deps/SPIRV-Headers/include/spirv/1.1/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/deqp-deps/SPIRV-Headers/include/spirv/1.2/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/shaderc/spirv-headers/include/spirv/1.2/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/mesa3d/src/compiler/spirv/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.1/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.2/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/shaderc/spirv-headers/include/spirv/1.1/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1/
Dspirv.h54 typedef unsigned int SpvId; typedef
/external/deqp-deps/SPIRV-Headers/include/spirv/unified1/
Dspirv.h52 typedef unsigned int SpvId; typedef
/external/shaderc/spirv-headers/include/spirv/unified1/
Dspirv.h51 typedef unsigned int SpvId; typedef