/third_party/skia/third_party/externals/tint/tools/ |
D | known_tint_failures | 1 break-outside-for-or-switch.fail.wgsl 2 continue-outside-for.fail.wgsl 3 duplicate-stuct-name-v2.fail.wgsl 4 duplicate-stuct-name.fail.wgsl 5 duplicate-var-name-within-func.fail.wgsl 6 global-vars-must-be-unique-v2.fail.wgsl 7 global-vars-must-be-unique-v3.fail.wgsl 8 runtime-array-not-last.fail.wgsl 9 self-recursion-v2.fail.wgsl 10 self-recursion.fail.wgsl [all …]
|
/third_party/skia/third_party/externals/tint/test/ |
D | BUILD.gn | 448 "../src/reader/wgsl/lexer_test.cc", 449 "../src/reader/wgsl/parser_impl_additive_expression_test.cc", 450 "../src/reader/wgsl/parser_impl_and_expression_test.cc", 451 "../src/reader/wgsl/parser_impl_argument_expression_list_test.cc", 452 "../src/reader/wgsl/parser_impl_assignment_stmt_test.cc", 453 "../src/reader/wgsl/parser_impl_body_stmt_test.cc", 454 "../src/reader/wgsl/parser_impl_break_stmt_test.cc", 455 "../src/reader/wgsl/parser_impl_bug_cases_test.cc", 456 "../src/reader/wgsl/parser_impl_call_stmt_test.cc", 457 "../src/reader/wgsl/parser_impl_case_body_test.cc", [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | CMakeLists.txt | 458 reader/wgsl/lexer.cc 459 reader/wgsl/lexer.h 460 reader/wgsl/parser.cc 461 reader/wgsl/parser.h 462 reader/wgsl/parser_impl.cc 463 reader/wgsl/parser_impl.h 464 reader/wgsl/parser_impl_detail.h 465 reader/wgsl/token.cc 466 reader/wgsl/token.h 490 writer/wgsl/generator.cc [all …]
|
/third_party/skia/third_party/externals/tint/test/intrinsics/ |
D | repeated_use.wgsl.expected.msl | 1 intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic 5 intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic 9 intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic 13 intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic 17 intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic 21 intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic 25 intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic 29 intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic 33 intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic 37 intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic [all …]
|
D | repeated_use.wgsl.expected.wgsl | 1 intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic 5 intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic 9 intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic 13 intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic 17 intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic 21 intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic 25 intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic 29 intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic 33 intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic 37 intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic [all …]
|
D | repeated_use.wgsl.expected.hlsl | 1 intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic 5 intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic 9 intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic 13 intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic 17 intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic 21 intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic 25 intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic 29 intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic 33 intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic 37 intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic [all …]
|
D | repeated_use.wgsl.expected.spvasm | 1 intrinsics/repeated_use.wgsl:5:9 warning: use of deprecated intrinsic 5 intrinsics/repeated_use.wgsl:6:9 warning: use of deprecated intrinsic 9 intrinsics/repeated_use.wgsl:7:9 warning: use of deprecated intrinsic 13 intrinsics/repeated_use.wgsl:9:9 warning: use of deprecated intrinsic 17 intrinsics/repeated_use.wgsl:10:9 warning: use of deprecated intrinsic 21 intrinsics/repeated_use.wgsl:11:9 warning: use of deprecated intrinsic 25 intrinsics/repeated_use.wgsl:13:9 warning: use of deprecated intrinsic 29 intrinsics/repeated_use.wgsl:14:9 warning: use of deprecated intrinsic 33 intrinsics/repeated_use.wgsl:15:9 warning: use of deprecated intrinsic 37 intrinsics/repeated_use.wgsl:17:9 warning: use of deprecated intrinsic [all …]
|
/third_party/skia/third_party/externals/tint/src/ast/ |
D | module_clone_test.cc | 122 auto src = reader::wgsl::Parse(&file); in TEST() 153 writer::wgsl::Options options; in TEST() 156 auto result = writer::wgsl::Generate(&src, options); in TEST() 158 src_wgsl = result.wgsl; in TEST() 169 auto result = writer::wgsl::Generate(&dst, options); in TEST() 171 auto dst_wgsl = result.wgsl; in TEST()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/ |
D | fuzzer.cc | 50 auto program = reader::wgsl::Parse(&file); in LLVMFuzzerCustomMutator() 71 auto result = writer::wgsl::Generate(&program, writer::wgsl::Options()); in LLVMFuzzerCustomMutator() 78 if (result.wgsl.size() > max_size) { in LLVMFuzzerCustomMutator() 87 data, result.wgsl.data(), result.wgsl.size()); in LLVMFuzzerCustomMutator() 88 return result.wgsl.size(); in LLVMFuzzerCustomMutator()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/mutations/ |
D | replace_identifier_test.cc | 47 auto program = reader::wgsl::Parse(&file); in TEST() 131 auto program = reader::wgsl::Parse(&file); in TEST() 161 auto program = reader::wgsl::Parse(&file); in TEST() 193 auto program = reader::wgsl::Parse(&file); in TEST() 229 auto program = reader::wgsl::Parse(&file); in TEST() 264 auto program = reader::wgsl::Parse(&file); in TEST() 302 auto program = reader::wgsl::Parse(&file); in TEST() 339 auto program = reader::wgsl::Parse(&file); in TEST() 377 auto program = reader::wgsl::Parse(&file); in TEST() 413 auto program = reader::wgsl::Parse(&file); in TEST() [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
D | tint_ast_clone_fuzzer.cc | 59 tint::reader::wgsl::ParserImpl parser(&file); in LLVMFuzzerTestOneInput() 95 tint::writer::wgsl::Options wgsl_options; in LLVMFuzzerTestOneInput() 97 auto result = tint::writer::wgsl::Generate(&src, wgsl_options); in LLVMFuzzerTestOneInput() 99 src_wgsl = result.wgsl; in LLVMFuzzerTestOneInput() 110 auto result = tint::writer::wgsl::Generate(&dst, wgsl_options); in LLVMFuzzerTestOneInput() 112 auto dst_wgsl = result.wgsl; in LLVMFuzzerTestOneInput()
|
/third_party/skia/third_party/externals/tint/docs/ |
D | diagnostics_guide.md | 20 shader.wgsl:7:1 error: Cannot take the address of expression. 26 shader.wgsl:7:1 error: cannot take the address of expression 39 shader.wgsl:5:7 error: cannot multiply 'expr_a * expr_b' with types i32 and f32 48 shader.wgsl:5:7 error: cannot multiply types i32 and f32 66 shader.wgsl:5:11 error: type cannot be used in storage class 'storage' as it is non-host-shareable 75 shader.wgsl:5:11 error: type cannot be used in storage class 'storage' as it is non-host-shareable 80 shader.wgsl:8:4 note: while instantiating variable 'StorageBuffer' 100 shader.wgsl:7:1 error: the originating variable of the left-hand side of an assignment expression m… 106 shader.wgsl:7:1 error: cannot assign to variable with read access control 111 shader.wgsl:2:8 note: read access control declared here
|
D | end-to-end-tests.md | 7 Test input files have either the `.wgsl`, `.spv` or `.spvasm` file extension. 11 …mat>` extension. For example the test `test/foo.wgsl` would have the HLSL expectation file `test/f… 26 … of directories.<br>Example: `--filter 'expressions/**/i32.wgsl'` will test all the `i32.wgsl` exp…
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/ |
D | 1.wgsl.expected.hlsl | 3 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:46:11 warning: code is unreachable 7 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:60:11 warning: code is unreachable 11 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:62:9 warning: code is unreachable 15 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:105:11 warning: code is unreachable 19 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:119:11 warning: code is unreachable 23 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:121:9 warning: code is unreachable 27 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:164:11 warning: code is unreachable 31 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:178:11 warning: code is unreachable 35 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:180:9 warning: code is unreachable 39 vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl:223:11 warning: code is unreachable [all …]
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/ |
D | 0.wgsl.expected.hlsl | 3 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:46:11 warning: code is… 7 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:60:11 warning: code is… 11 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:62:9 warning: code is … 15 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:105:11 warning: code i… 19 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:119:11 warning: code i… 23 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:121:9 warning: code is… 27 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:164:11 warning: code i… 31 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:178:11 warning: code i… 35 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:180:9 warning: code is… 39 vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl:223:11 warning: code i… [all …]
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
D | util.cc | 38 const std::string* wgsl) { in LogError() argument 47 if (wgsl) { in LogError() 48 std::ofstream(prefix + ".wgsl") << *wgsl << std::endl; in LogError() 85 const std::string& wgsl, in LogWgslError() argument 106 error_dir.empty() ? nullptr : &error_path, data, size, &wgsl); in LogWgslError()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
D | test_helper.h | 57 auto program = reader::wgsl::Parse(file.get()); 95 writer::wgsl::Options options; in str() 96 auto result = writer::wgsl::Generate(&output.program, options); in str() 101 auto res = result.wgsl; in str()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | parser_impl_test_helper.cc | 40 writer::wgsl::GeneratorImpl writer(&program); in ToString() 48 writer::wgsl::GeneratorImpl writer(&program); in ToString() 58 writer::wgsl::GeneratorImpl writer(&program); in ToString()
|
D | function_memory_test.cc | 423 auto wgsl = test::ToString(p->program(), ast_body); in TEST_F() local 424 EXPECT_THAT(wgsl, Not(HasSubstr("&"))); in TEST_F() 425 EXPECT_THAT(wgsl, HasSubstr(" = myvar.z;")); in TEST_F() 426 EXPECT_THAT(wgsl, HasSubstr("myvar.z = ")); in TEST_F() 461 auto wgsl = test::ToString(p->program(), ast_body); in TEST_F() local 462 EXPECT_THAT(wgsl, Not(HasSubstr("&"))); in TEST_F() 463 EXPECT_THAT(wgsl, HasSubstr(" = myvar[x_12];")); in TEST_F() 464 EXPECT_THAT(wgsl, HasSubstr("myvar[x_12] = ")); in TEST_F() 500 auto wgsl = test::ToString(p->program(), ast_body); in TEST_F() local 501 EXPECT_THAT(wgsl, Not(HasSubstr("&"))); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator.h | 29 namespace wgsl { 54 std::string wgsl = ""; member
|
D | generator.cc | 20 namespace wgsl { namespace 33 result.wgsl = impl->result(); in Generate()
|
/third_party/skia/third_party/externals/tint/test/bug/chromium/ |
D | 1273230.wgsl.expected.wgsl | 1 bug/chromium/1273230.wgsl:4:7 warning: use of deprecated intrinsic 5 bug/chromium/1273230.wgsl:7:3 warning: use of deprecated intrinsic 9 bug/chromium/1273230.wgsl:10:6 warning: use of deprecated intrinsic 13 bug/chromium/1273230.wgsl:11:9 warning: use of deprecated intrinsic 17 bug/chromium/1273230.wgsl:12:9 warning: use of deprecated intrinsic
|
D | 1273230.wgsl.expected.hlsl | 1 bug/chromium/1273230.wgsl:4:7 warning: use of deprecated intrinsic 5 bug/chromium/1273230.wgsl:7:3 warning: use of deprecated intrinsic 9 bug/chromium/1273230.wgsl:10:6 warning: use of deprecated intrinsic 13 bug/chromium/1273230.wgsl:11:9 warning: use of deprecated intrinsic 17 bug/chromium/1273230.wgsl:12:9 warning: use of deprecated intrinsic
|
/third_party/skia/third_party/externals/tint/test/intrinsics/ignore/ |
D | storage_buffer.wgsl.expected.hlsl | 1 intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic 5 intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
D | uniform_buffer.wgsl.expected.hlsl | 1 intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic 5 intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|