Home
last modified time | relevance | path

Searched refs:wgsl (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/third_party/skia/third_party/externals/tint/tools/
Dknown_tint_failures1 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/
DBUILD.gn448 "../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/
DCMakeLists.txt458 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/
Drepeated_use.wgsl.expected.msl1 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 …]
Drepeated_use.wgsl.expected.wgsl1 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 …]
Drepeated_use.wgsl.expected.hlsl1 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 …]
Drepeated_use.wgsl.expected.spvasm1 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/
Dmodule_clone_test.cc122 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/
Dfuzzer.cc50 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/
Dreplace_identifier_test.cc47 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/
Dtint_ast_clone_fuzzer.cc59 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/
Ddiagnostics_guide.md20 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
Dend-to-end-tests.md7 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/
D1.wgsl.expected.hlsl3 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/
D0.wgsl.expected.hlsl3 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/
Dutil.cc38 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/
Dtest_helper.h57 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/
Dparser_impl_test_helper.cc40 writer::wgsl::GeneratorImpl writer(&program); in ToString()
48 writer::wgsl::GeneratorImpl writer(&program); in ToString()
58 writer::wgsl::GeneratorImpl writer(&program); in ToString()
Dfunction_memory_test.cc423 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/
Dgenerator.h29 namespace wgsl {
54 std::string wgsl = ""; member
Dgenerator.cc20 namespace wgsl { namespace
33 result.wgsl = impl->result(); in Generate()
/third_party/skia/third_party/externals/tint/test/bug/chromium/
D1273230.wgsl.expected.wgsl1 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
D1273230.wgsl.expected.hlsl1 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/
Dstorage_buffer.wgsl.expected.hlsl1 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
Duniform_buffer.wgsl.expected.hlsl1 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

12345678910>>...42