Home
last modified time | relevance | path

Searched refs:msl (Results 1 – 25 of 72) sorted by relevance

123

/third_party/skia/third_party/externals/spirv-cross/
Dtest_shaders.sh21 ./test_shaders.py shaders-msl ${OPTS} --msl --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
22 ./test_shaders.py shaders-msl ${OPTS} --msl --opt --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
23 ./test_shaders.py shaders-msl-no-opt ${OPTS} --msl --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
28 ./test_shaders.py shaders-ue4 ${OPTS} --msl --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
29 ./test_shaders.py shaders-ue4 ${OPTS} --msl --opt --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
30 ./test_shaders.py shaders-ue4-no-opt ${OPTS} --msl --spirv-cross "$SPIRV_CROSS_PATH" || exit 1
Dspirv_cross_c.cpp163 CompilerMSL::Options msl; member
367 opt->msl = static_cast<CompilerMSL *>(compiler->compiler.get())->get_msl_options(); in spvc_compiler_create_compiler_options()
516 options->msl.msl_version = value; in spvc_compiler_options_set_uint()
520 options->msl.texel_buffer_texture_width = value; in spvc_compiler_options_set_uint()
524 options->msl.swizzle_buffer_index = value; in spvc_compiler_options_set_uint()
528 options->msl.indirect_params_buffer_index = value; in spvc_compiler_options_set_uint()
532 options->msl.shader_output_buffer_index = value; in spvc_compiler_options_set_uint()
536 options->msl.shader_patch_output_buffer_index = value; in spvc_compiler_options_set_uint()
540 options->msl.shader_tess_factor_buffer_index = value; in spvc_compiler_options_set_uint()
544 options->msl.shader_input_wg_index = value; in spvc_compiler_options_set_uint()
[all …]
DCMakeLists.txt229 set(spirv-cross-msl-sources
276 spirv_cross_add_library(spirv-cross-msl spirv_cross_msl STATIC
277 ${spirv-cross-msl-sources})
279 target_link_libraries(spirv-cross-msl PRIVATE spirv-cross-glsl)
318 target_link_libraries(spirv-cross-c PRIVATE spirv-cross-msl)
371 target_sources(spirv-cross-c-shared PRIVATE ${spirv-cross-msl-sources})
452 spirv-cross-msl
504 add_executable(spirv-cross-msl-constexpr-test tests-other/msl_constexpr_test.cpp)
505 target_link_libraries(spirv-cross-msl-constexpr-test spirv-cross-c)
506 …set_target_properties(spirv-cross-msl-constexpr-test PROPERTIES LINK_FLAGS "${spirv-cross-link-fla…
[all …]
/third_party/skia/experimental/graphite/src/
DProgramCache.cpp21 std::string msl = GetMSLUniformStruct(fCombination.fShaderType); in getMSL() local
27 msl += std::string( in getMSL()
54 msl += std::string( in getMSL()
63 return msl; in getMSL()
/third_party/skia/third_party/externals/tint/test/
DBUILD.gn569 "../src/writer/msl/generator_impl_array_accessor_test.cc",
570 "../src/writer/msl/generator_impl_assign_test.cc",
571 "../src/writer/msl/generator_impl_binary_test.cc",
572 "../src/writer/msl/generator_impl_bitcast_test.cc",
573 "../src/writer/msl/generator_impl_block_test.cc",
574 "../src/writer/msl/generator_impl_break_test.cc",
575 "../src/writer/msl/generator_impl_call_test.cc",
576 "../src/writer/msl/generator_impl_case_test.cc",
577 "../src/writer/msl/generator_impl_cast_test.cc",
578 "../src/writer/msl/generator_impl_constructor_test.cc",
[all …]
/third_party/mindspore/mindspore/lite/examples/transfer_learning/
DMakefile17 -I ./msl/runtime \
18 -I ./msl/runtime/minddata \
19 -I ./msl/tools/third_party/flatbuffers/include
44 rm -rf dataset package* msl src/*.o bin/ model/*.mindir model/*.ms model/*.so model/converter_lite
Dprepare_and_run.sh97 rm -rf msl
98 mv mindspore-* msl/
D.gitignore3 msl
/third_party/mindspore/mindspore/lite/examples/train_lenet/
DMakefile17 -I ./msl/runtime \
18 -I ./msl/runtime/minddata \
19 -I ./msl/tools/third_party/flatbuffers/include
45 rm -rf package* msl src/*.o bin/ model/*.mindir model/*.ms model/*.so* model/converter_lite
Dprepare_and_run.sh135 rm -rf msl
136 mv mindspore-* msl/
137 rm -rf msl/tools/
D.gitignore3 msl
/third_party/skia/third_party/externals/tint/src/
DCMakeLists.txt499 writer/msl/generator.cc
500 writer/msl/generator.h
501 writer/msl/generator_impl.cc
502 writer/msl/generator_impl.h
536 val/msl.cc
994 writer/msl/generator_impl_array_accessor_test.cc
995 writer/msl/generator_impl_assign_test.cc
996 writer/msl/generator_impl_binary_test.cc
997 writer/msl/generator_impl_bitcast_test.cc
998 writer/msl/generator_impl_block_test.cc
[all …]
/third_party/mindspore/mindspore/lite/examples/unified_api/
DMakefile21 -I ./msl/runtime \
22 -I ./msl/runtime/minddata \
23 -I ./msl/tools/third_party/flatbuffers/include
54 rm -rf package* msl src/*.o bin/ model/*.mindir model/*.ms model/*.so* model/converter_lite
Dprepare_and_run.sh124 rm -rf msl
125 mv mindspore-* msl/
126 rm -rf msl/tools/
D.gitignore3 msl
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DShaderModuleMTL.mm155 tint::writer::msl::Options options;
162 auto result = tint::writer::msl::Generate(&program, options);
170 return std::move(result.msl);
189 std::string msl;
191 DAWN_TRY_ASSIGN(msl,
200 msl = R"(
204 )" + msl;
208 dumpedMsg << "/* Dumped generated MSL */" << std::endl << msl;
212 NSRef<NSString> mslSource = AcquireNSRef([[NSString alloc] initWithUTF8String:msl.c_str()]);
/third_party/skia/src/gpu/mtl/
DGrMtlUtil.h75 SkSL::String* msl,
83 const SkSL::String& msl,
91 const SkSL::String& msl);
DGrMtlPipelineStateBuilder.mm563 SkSL::String msl[kGrShaderTypeCount];
570 GrPersistentCacheUtils::UnpackCachedShaders(&reader, msl, inputs,
583 &msl[kVertex_GrShaderType],
590 &msl[kFragment_GrShaderType],
607 if (msl[kVertex_GrShaderType].empty() || msl[kFragment_GrShaderType].empty()) {
609 if (msl[kVertex_GrShaderType].empty()) {
614 &msl[kVertex_GrShaderType],
618 if (success && msl[kFragment_GrShaderType].empty()) {
623 &msl[kFragment_GrShaderType],
642 this->storeShadersInCache(msl, inputs, nullptr,
[all …]
DGrMtlUtil.mm64 SkSL::String* msl,
77 if (!program || !compiler->toMetal(*program, msl)) {
90 GrShaderUtils::PrintLineByLine(GrShaderUtils::PrettyPrint(*msl));
99 const SkSL::String& msl,
102 auto nsSource = [[NSString alloc] initWithBytesNoCopy:const_cast<char*>(msl.c_str())
103 length:msl.size()
130 errorHandler->compileError(msl.c_str(), error.debugDescription.UTF8String);
138 const SkSL::String& msl) {
139 auto nsSource = [[NSString alloc] initWithBytesNoCopy:const_cast<char*>(msl.c_str())
140 length:msl.size()
/third_party/skia/experimental/graphite/src/mtl/
DMtlUtils.mm56 const SkSL::String& msl) {
58 auto nsSource = [[NSString alloc] initWithBytesNoCopy:const_cast<char*>(msl.c_str())
59 length:msl.size()
81 SkDebugf("%s", msl.c_str());
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_common_fuzzer.h35 void GenerateMslOptions(DataBuilder* b, writer::msl::Options* options);
82 void SetOptionsMsl(const writer::msl::Options& options) { in SetOptionsMsl()
102 writer::msl::Options options_msl_;
Ddata_builder.h162 struct BuildImpl<writer::msl::Options> {
166 static writer::msl::Options impl(DataBuilder* b) {
167 writer::msl::Options out{};
Dtint_common_fuzzer.cc105 void GenerateMslOptions(DataBuilder* b, writer::msl::Options* options) { in GenerateMslOptions()
106 *options = b->build<writer::msl::Options>(); in GenerateMslOptions()
247 auto result = writer::msl::Generate(&program, options_msl_); in Run()
248 generated_msl_ = std::move(result.msl); in Run()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator.h33 namespace msl {
90 std::string msl = ""; member
Dgenerator.cc23 namespace msl { namespace
56 result.msl = impl->result(); in Generate()

123