/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | spirv_builder.h | 60 SpvId prev_id; 63 static inline SpvId 85 spirv_builder_emit_name(struct spirv_builder *b, SpvId target, 89 spirv_builder_emit_decoration(struct spirv_builder *b, SpvId target, 93 spirv_builder_emit_input_attachment_index(struct spirv_builder *b, SpvId target, uint32_t id); 96 spirv_builder_emit_specid(struct spirv_builder *b, SpvId target, uint32_t id); 99 spirv_builder_emit_location(struct spirv_builder *b, SpvId target, 103 spirv_builder_emit_component(struct spirv_builder *b, SpvId target, 107 spirv_builder_emit_builtin(struct spirv_builder *b, SpvId target, 111 spirv_builder_emit_index(struct spirv_builder *b, SpvId target, int index); [all …]
|
D | spirv_builder.c | 137 SpvExecutionModel exec_model, SpvId entry_point, in spirv_builder_emit_entry_point() 138 const char *name, const SpvId interfaces[], in spirv_builder_emit_entry_point() 154 spirv_builder_emit_exec_mode_literal(struct spirv_builder *b, SpvId entry_point, in spirv_builder_emit_exec_mode_literal() 165 spirv_builder_emit_exec_mode_literal3(struct spirv_builder *b, SpvId entry_point, in spirv_builder_emit_exec_mode_literal3() 177 spirv_builder_emit_exec_mode(struct spirv_builder *b, SpvId entry_point, in spirv_builder_emit_exec_mode() 187 spirv_builder_emit_name(struct spirv_builder *b, SpvId target, in spirv_builder_emit_name() 199 emit_decoration(struct spirv_builder *b, SpvId target, in emit_decoration() 213 spirv_builder_emit_decoration(struct spirv_builder *b, SpvId target, in spirv_builder_emit_decoration() 220 spirv_builder_emit_input_attachment_index(struct spirv_builder *b, SpvId target, uint32_t id) in spirv_builder_emit_input_attachment_index() 227 spirv_builder_emit_specid(struct spirv_builder *b, SpvId target, uint32_t id) in spirv_builder_emit_specid() [all …]
|
D | nir_to_spirv.c | 52 SpvId GLSL_std_450; 57 SpvId ubos[2][5]; //8, 16, 32, unused, 64 60 SpvId ssbos[5]; //8, 16, 32, unused, 64 62 SpvId image_types[PIPE_MAX_SAMPLERS]; 63 SpvId images[PIPE_MAX_SAMPLERS]; 64 SpvId sampler_types[PIPE_MAX_SAMPLERS]; 65 SpvId samplers[PIPE_MAX_SAMPLERS]; 68 SpvId entry_ifaces[PIPE_MAX_SHADER_INPUTS * 4 + PIPE_MAX_SHADER_OUTPUTS * 4]; 71 SpvId *defs; 72 SpvId *resident_defs; [all …]
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLSPIRVCodeGenerator.h | 72 SpvId fTypeId; 73 SpvId fValueId[4]; 109 virtual SpvId getPointer() { return -1; } 122 virtual SpvId load(OutputStream& out) = 0; 124 virtual void store(SpvId value, OutputStream& out) = 0; 172 SpvId spvId; 183 SpvId nextId(const Type* type); 185 SpvId nextId(Precision precision); 189 SpvId getType(const Type& type); 191 SpvId getType(const Type& type, const MemoryLayout& layout); [all …]
|
D | SkSLSPIRVCodeGenerator.cpp | 304 void SPIRVCodeGenerator::writeLabel(SpvId label, OutputStream& out) { in writeLabel() 437 this->writeInstruction(SpvOpCapability, (SpvId) i, out); in writeCapabilities() 443 SpvId SPIRVCodeGenerator::nextId(const Type* type) { in nextId() 449 SpvId SPIRVCodeGenerator::nextId(Precision precision) { in nextId() 458 SpvId resultId) { in writeStruct() 462 std::vector<SpvId> types; in writeStruct() 468 for (SpvId id : types) { in writeStruct() 503 this->writeInstruction(SpvOpMemberDecorate, resultId, (SpvId) i, SpvDecorationOffset, in writeStruct() 504 (SpvId) offset, fDecorationBuffer); in writeStruct() 510 (SpvId) memoryLayout.stride(*field.fType), in writeStruct() [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/spirv/ |
D | invocation.cpp | 98 convert_image_type(SpvId id, SpvDim dim, SpvAccessQualifier access, in convert_image_type() 150 std::unordered_map<SpvId, std::vector<size_t> > req_local_sizes; in create_binary_from_spirv() 151 std::unordered_map<SpvId, std::string> kernels; in create_binary_from_spirv() 152 std::unordered_map<SpvId, binary::argument> types; in create_binary_from_spirv() 153 std::unordered_map<SpvId, SpvId> pointer_types; in create_binary_from_spirv() 154 std::unordered_map<SpvId, unsigned int> constants; in create_binary_from_spirv() 155 std::unordered_set<SpvId> packed_structures; in create_binary_from_spirv() 156 std::unordered_map<SpvId, std::vector<SpvFunctionParameterAttribute>> in create_binary_from_spirv() 158 std::unordered_map<SpvId, std::string> names; in create_binary_from_spirv() 159 std::unordered_map<SpvId, cl_kernel_arg_type_qualifier> qualifiers; in create_binary_from_spirv() [all …]
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_cross_c.h | 87 typedef SpvId spvc_type_id; 89 typedef SpvId spvc_variable_id; 91 typedef SpvId spvc_constant_id; 706 SPVC_PUBLIC_API spvc_result spvc_context_parse_spirv(spvc_context context, const SpvId *spirv, size… 838 SPVC_PUBLIC_API void spvc_compiler_set_decoration(spvc_compiler compiler, SpvId id, SpvDecoration d… 840 SPVC_PUBLIC_API void spvc_compiler_set_decoration_string(spvc_compiler compiler, SpvId id, SpvDecor… 842 SPVC_PUBLIC_API void spvc_compiler_set_name(spvc_compiler compiler, SpvId id, const char *argument); 850 SPVC_PUBLIC_API void spvc_compiler_unset_decoration(spvc_compiler compiler, SpvId id, SpvDecoration… 854 SPVC_PUBLIC_API spvc_bool spvc_compiler_has_decoration(spvc_compiler compiler, SpvId id, SpvDecorat… 857 SPVC_PUBLIC_API const char *spvc_compiler_get_name(spvc_compiler compiler, SpvId id); [all …]
|
D | spirv_cross_c.cpp | 239 spvc_result spvc_context_parse_spirv(spvc_context context, const SpvId *spirv, size_t word_count, in spvc_context_parse_spirv() 1841 void spvc_compiler_set_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration, unsig… in spvc_compiler_set_decoration() 1846 void spvc_compiler_set_decoration_string(spvc_compiler compiler, SpvId id, SpvDecoration decoration, in spvc_compiler_set_decoration_string() 1852 void spvc_compiler_set_name(spvc_compiler compiler, SpvId id, const char *argument) in spvc_compiler_set_name() 1875 void spvc_compiler_unset_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_unset_decoration() 1886 spvc_bool spvc_compiler_has_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_has_decoration() 1899 const char *spvc_compiler_get_name(spvc_compiler compiler, SpvId id) in spvc_compiler_get_name() 1904 unsigned spvc_compiler_get_decoration(spvc_compiler compiler, SpvId id, SpvDecoration decoration) in spvc_compiler_get_decoration() 1909 const char *spvc_compiler_get_decoration_string(spvc_compiler compiler, SpvId id, SpvDecoration dec… in spvc_compiler_get_decoration_string() 2106 SpvId spvc_type_get_array_dimension(spvc_type type, unsigned dimension) in spvc_type_get_array_dimension()
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
D | msl_resource_bindings.cpp | 16 static std::vector<SpvId> read_file(const char *path) in read_file() 28 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
|
D | hlsl_resource_bindings.cpp | 16 static std::vector<SpvId> read_file(const char *path) in read_file() 28 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
|
D | msl_ycbcr_conversion_test.cpp | 28 static std::vector<SpvId> read_file(const char *path) in read_file() 40 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
|
D | msl_constexpr_test.cpp | 28 static std::vector<SpvId> read_file(const char *path) in read_file() 40 std::vector<SpvId> buffer(len / sizeof(SpvId)); in read_file()
|
D | c_api_test.c | 26 static int read_file(const char *path, SpvId **buffer, size_t *word_count) in read_file() 47 *word_count = len / sizeof(SpvId); in read_file() 118 SpvId *buffer = NULL; in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | remove_duplicates_pass.cpp | 73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports() 114 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | remove_duplicates_pass.cpp | 73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports() 114 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
|
/third_party/spirv-tools/source/opt/ |
D | remove_duplicates_pass.cpp | 73 std::unordered_map<std::string, SpvId> ext_inst_imports; in RemoveDuplicatesExtInstImports() 113 SpvId id_to_keep = 0u; in RemoveDuplicateTypes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/ |
D | linker.cpp | 57 SpvId id; // ID of the symbol 58 SpvId type_id; // ID of the type of the symbol 61 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if 400 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs() 568 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
|
/third_party/skia/third_party/externals/spirv-tools/source/link/ |
D | linker.cpp | 57 SpvId id; // ID of the symbol 58 SpvId type_id; // ID of the type of the symbol 61 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if 400 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs() 568 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
|
/third_party/spirv-tools/source/link/ |
D | linker.cpp | 60 SpvId id; // ID of the symbol 61 SpvId type_id; // ID of the type of the symbol 64 std::vector<SpvId> parameter_ids; // ID of the parameters of the symbol, if 421 const SpvId id = decoration.GetSingleWordInOperand(0u); in GetImportExportPairs() 588 std::unordered_set<SpvId> imports; in RemoveLinkageSpecificInstructions()
|
/third_party/skia/src/sksl/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/include/spirv/1.0/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|
/third_party/spirv-headers/include/spirv/1.0/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|
/third_party/spirv-headers/include/spirv/1.2/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|
/third_party/spirv-headers/include/spirv/1.1/ |
D | spirv.h | 51 typedef unsigned int SpvId; typedef
|