Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dspirv_builder.h58 SpvId prev_id;
61 static inline SpvId
83 spirv_builder_emit_name(struct spirv_builder *b, SpvId target,
87 spirv_builder_emit_decoration(struct spirv_builder *b, SpvId target,
91 spirv_builder_emit_location(struct spirv_builder *b, SpvId target,
95 spirv_builder_emit_component(struct spirv_builder *b, SpvId target,
99 spirv_builder_emit_builtin(struct spirv_builder *b, SpvId target,
103 spirv_builder_emit_index(struct spirv_builder *b, SpvId target, int index);
106 spirv_builder_emit_descriptor_set(struct spirv_builder *b, SpvId target,
110 spirv_builder_emit_binding(struct spirv_builder *b, SpvId target,
[all …]
Dspirv_builder.c132 SpvExecutionModel exec_model, SpvId entry_point, in spirv_builder_emit_entry_point()
133 const char *name, const SpvId interfaces[], in spirv_builder_emit_entry_point()
149 spirv_builder_emit_exec_mode_literal(struct spirv_builder *b, SpvId entry_point, in spirv_builder_emit_exec_mode_literal()
160 spirv_builder_emit_exec_mode(struct spirv_builder *b, SpvId entry_point, in spirv_builder_emit_exec_mode()
170 spirv_builder_emit_name(struct spirv_builder *b, SpvId target, in spirv_builder_emit_name()
182 emit_decoration(struct spirv_builder *b, SpvId target, in emit_decoration()
196 spirv_builder_emit_decoration(struct spirv_builder *b, SpvId target, in spirv_builder_emit_decoration()
203 spirv_builder_emit_location(struct spirv_builder *b, SpvId target, in spirv_builder_emit_location()
211 spirv_builder_emit_component(struct spirv_builder *b, SpvId target, in spirv_builder_emit_component()
219 spirv_builder_emit_builtin(struct spirv_builder *b, SpvId target, in spirv_builder_emit_builtin()
[all …]
Dnir_to_spirv.c39 SpvId GLSL_std_450;
44 SpvId ubos[128];
46 SpvId image_types[PIPE_MAX_SAMPLERS];
47 SpvId samplers[PIPE_MAX_SAMPLERS];
49 SpvId entry_ifaces[PIPE_MAX_SHADER_INPUTS * 4 + PIPE_MAX_SHADER_OUTPUTS * 4];
52 SpvId *defs;
55 SpvId *regs;
62 SpvId so_output_types[VARYING_SLOT_MAX];
64 const SpvId *block_ids;
67 SpvId loop_break, loop_cont;
[all …]
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.h97 virtual SpvId getPointer() = 0;
99 virtual SpvId load(OutputStream& out) = 0;
101 virtual void store(SpvId value, OutputStream& out) = 0;
149 SpvId nextId();
153 SpvId getType(const Type& type);
155 SpvId getType(const Type& type, const MemoryLayout& layout);
157 SpvId getImageType(const Type& type);
159 SpvId getFunctionType(const FunctionDeclaration& function);
161 SpvId getPointerType(const Type& type, SpvStorageClass_ storageClass);
163 SpvId getPointerType(const Type& type, const MemoryLayout& layout,
[all …]
DSkSLSPIRVCodeGenerator.cpp238 void SPIRVCodeGenerator::writeLabel(SpvId label, OutputStream& out) { in writeLabel()
368 this->writeInstruction(SpvOpCapability, (SpvId) i, out); in writeCapabilities()
379 SpvId SPIRVCodeGenerator::nextId() { in nextId()
384 SpvId resultId) { in writeStruct()
388 std::vector<SpvId> types; in writeStruct()
394 for (SpvId id : types) { in writeStruct()
424 this->writeInstruction(SpvOpMemberDecorate, resultId, (SpvId) i, SpvDecorationOffset, in writeStruct()
425 (SpvId) offset, fDecorationBuffer); in writeStruct()
431 (SpvId) memoryLayout.stride(*field.fType), in writeStruct()
435 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/mesa3d/src/gallium/frontends/clover/spirv/
Dinvocation.cpp97 convert_image_type(SpvId id, SpvDim dim, SpvAccessQualifier access, in convert_image_type()
142 std::unordered_map<SpvId, std::vector<size_t> > req_local_sizes; in create_module_from_spirv()
143 std::unordered_map<SpvId, std::string> kernels; in create_module_from_spirv()
144 std::unordered_map<SpvId, module::argument> types; in create_module_from_spirv()
145 std::unordered_map<SpvId, SpvId> pointer_types; in create_module_from_spirv()
146 std::unordered_map<SpvId, unsigned int> constants; in create_module_from_spirv()
147 std::unordered_set<SpvId> packed_structures; in create_module_from_spirv()
148 std::unordered_map<SpvId, std::vector<SpvFunctionParameterAttribute>> in create_module_from_spirv()
150 std::unordered_map<SpvId, std::string> names; in create_module_from_spirv()
151 std::unordered_map<SpvId, cl_kernel_arg_type_qualifier> qualifiers; in create_module_from_spirv()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports()
114 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()
114 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
/external/angle/third_party/spirv-tools/src/source/opt/
Dremove_duplicates_pass.cpp73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports()
114 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
/external/angle/third_party/spirv-tools/src/source/link/
Dlinker.cpp56 SpvId id; // ID of the symbol
57 SpvId type_id; // ID of the type of the symbol
60 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if
399 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs()
567 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
/external/deqp-deps/SPIRV-Tools/source/link/
Dlinker.cpp56 SpvId id; // ID of the symbol
57 SpvId type_id; // ID of the type of the symbol
60 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if
399 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs()
567 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
/external/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp56 SpvId id; // ID of the symbol
57 SpvId type_id; // ID of the type of the symbol
60 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if
399 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs()
567 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
/external/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/angle/third_party/spirv-headers/src/include/spirv/1.0/
Dspirv.h51 typedef unsigned int SpvId; typedef
/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.2/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/shaderc/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/deqp-deps/SPIRV-Headers/include/spirv/1.2/
Dspirv.h51 typedef unsigned int SpvId; typedef
/external/angle/third_party/spirv-headers/src/include/spirv/1.2/
Dspirv.h51 typedef unsigned int SpvId; typedef

12