These 88 commits are when the Protocol Buffers files have changed:
Commit: | 73ef61b | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[tint] Add subgroup_id builtin value Only valid in compute shaders as a u32 input. Currently gated on `chromium_experimental_subgroup_matrix` although we can hopefully move it to `subgroups` if we can reliably implement it in HLSL and then standardize it. Emit this as `simdgroup_index_in_threadgroup` or `SubgroupId` in MSL and SPIR-V respectively. Fixed: 403608968 Change-Id: I25e0196ce186e6b72065bf03a28998c43737c35f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/241336 Auto-Submit: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>
The documentation is generated from this commit.
Commit: | fa1b207 | |
---|---|---|
Author: | shaoboyan | |
Committer: | Shaobo Yan |
Rename "push_constant" to "immediate" Rename "push_constant" address space to "immediate" to align with webgpu group proposal. Bug:366291600 Change-Id: I057c4aa1102d849af3b946db0e7ae8f4e9f90c41 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239734 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Shaobo Yan <shaoboyan@microsoft.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 647ddb3 | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[ir] Handle explicit template parameters in IR proto Some of the subgroup matrix builtins have explicit template parameters, which were being dropped during protobuf encoding. Fixed: 401430850 Change-Id: I43c7045127e20f7afe1e8e5dd1a7972ae9a37eee Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230274 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: James Price <jrprice@google.com>
Commit: | ed9f52b | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[ir] Add builtin struct support to the protobuf This is required in order for the IR fuzzers to generate valid calls to builtins that produce builtin struct results. Fixed: 396344373 Change-Id: I1ff9382e504e5b7ce96eb25032f0428709ffddcc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226276 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: James Price <jrprice@google.com>
Commit: | 02f4e67 | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[wgsl] Add subgroupMatrixMultiplyAccumulate builtin Bug: 348702031 Change-Id: I95eb9b18e2a75be0f7ae6d54af10cc3f514f05cf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/225137 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | c677aca | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[wgsl] Add subgroupMatrixMultiply builtin function Remove the i8 and u8 element types from the intrinsics files for now as they are not yet supported in the frontend. Bug: 348702031 Change-Id: Icd770e4f4069ff2831b0aaddd326a05ffde843d2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224195 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com>
Commit: | 1293ca7 | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[wgsl] Add subgroupMatrixLoad builtin function Add translation to/from core IR. Propagate explicit template arguments on builtin calls when converting to/from IR and when raising/lowering. The type cannot be stored directly, so use `subgroupMatrixStore` to write out to the `prevent_dce` storage buffer in E2E tests. Bug: 348702031 Change-Id: I3224c0c3c527623e4ad6c2b7665653b66ee69644 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224134 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 6eec4a6 | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[wgsl] Add subgroupMatrixStore builtin function Add translation to/from core IR. Restrict the permutations for E2E tests to avoid combinatorial explosion. Bug: 348702031 Change-Id: Ic73b3f83e6fc2267126e7a2c095a290af0c3eb15 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/224057 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 8c8e273 | |
---|---|---|
Author: | dan sinclair | |
Committer: | Dawn LUCI CQ |
[spirv-reader][ir] Add a `CullDistance` builtin. In order to support SPIR-V coming from GLSL we need an internal concept of the `CullDistance` builtin. This CL adds the infrastructure for that builtin. Bug: 42250952 Change-Id: Ia68fe6736385e752047d4d942f10039ea27b74d3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/221434 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
Commit: | d35a3b6 | |
---|---|---|
Author: | Peter McNeeley | |
Committer: | Dawn LUCI CQ |
Add subgroupInclusiveAdd and subgroupInclusiveMul HLSL does not have these variants so simple poly fills are required. Subgroups proposal [0] On HLSL we need to use a very lightweight polyfill [1]. [0] https://github.com/gpuweb/gpuweb/blob/main/proposals/subgroups.md [1] https://github.com/gpuweb/gpuweb/blob/main/proposals/subgroups.md#appendix-b-wgsl-built-in-function-mappings Bug: 361330160 Change-Id: Ia69156db01a87b54a2ee0377ed3f054a3879e107 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/206894 Commit-Queue: Peter McNeeley <petermcneeley@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 032ea5a | |
---|---|---|
Author: | Corentin Wallez | |
Committer: | Dawn LUCI CQ |
Remove Dawn LPM Fuzzer. It hasn't found issues in a while and requires some maintenance when compilation breaks, which we only find when rolling into Chromium. Change-Id: I7af645a8f48ff4cc923d493b5c809880cf97712f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/206215 Reviewed-by: Brendon Tiszka <tiszka@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit: | 23fa64f | |
---|---|---|
Author: | dan sinclair | |
Committer: | Dawn LUCI CQ |
Add subgroup matrix zero constructors to core.def This CL adds the `subgroup_matrix_left`, `subgroup_matrix_right` and `subgroup_matrix_result` methods to the `core.def` file. Bug: 348702031 Change-Id: I2a8e14888c8f641b6efa25157d73521b29f41187 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202714 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
Commit: | 2918c42 | |
---|---|---|
Author: | Jiawei Shao | |
Committer: | Dawn LUCI CQ |
Tint: Add WGSL extension and built-in variable `clip_distances` This patch adds the WGSL extension and built-in variable `clip_distances`, and adds a validation that the WGSL extension `clip_distances` must be enabled when the built-in variable `clip_distances` is used. Bug: chromium:358408571 Test: tint_unittests Change-Id: I7c807e6d36f70fcb336b7589d1e1fda72d32d648 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202256 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Commit: | e31fa9d | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement quadSwapX, Y and Diagonal Implement WGSL builtins quadSwapX, quadSwapY, and quadSwapDiagonal in the SPIR-V IR backend and HLSL AST and IR backends. These are not yet implemented in the MSL backends. No subgroup support is implemented for the GLSL backend. Bug: 354738715 Change-Id: Iff1a17a02d9b875333c49ee49f6149dda970f320 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202415 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | b7114a6 | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement quadBroadcast Implement WGSL builtin quadBroadcast in the SPIR-V IR backend, MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. Constness of the ID arg is validated in the resolver, and a polyfill is implemented in the SPIR-V backend to bitcast signed integer IDs to unsigned. Validation against negative ID args has been added for both subgroupBroadcast and quadBroadcast. Bug: 354738715 Change-Id: Iadb9726113bb964d51bbf4788f5deae4ae85b6d5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202374 Reviewed-by: dan sinclair <dsinclair@google.com> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | dbefda9 | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupShuffleXor, Up and Down Implement WGSL builtins subgroupShuffleXor, subgroupShuffleUp, and subgroupShuffleDown in the SPIR-V IR backend (not AST), MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. A polyfill is necessary for the HLSL backends to implement these functions in terms of WaveReadLaneAt. This is implemented as an IR transform for the IR backend, and in the AST printer for the AST backend. Bug: 354738715 Change-Id: I06e41def207168d357031d36f8af5e44242478a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/202234 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | b862299 | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupShuffle Implement subgroupShuffle builtin for WGSL, SPIR-V IR backend (not AST), MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. A polyfill is necessary in the SPIR-V IR backend to handle the case where the lane ID is a signed integer. Bug: 354738715 Change-Id: I3c29c1862d29600457fdb790b954fe0854008b52 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201956 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | f15cc07 | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupElect and BroadcastFirst Implement subgroupElect and subgroupBroadcastFirst builtins for WGSL, SPIR-V IR backend (not AST), MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. Also implement subgroupBroadcast for the MSL IR backend where was not yet supported. Bug: 354738715 Change-Id: I3ff29b06d7bd2ff492a07b30bbff48aef0a669e2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201917 Commit-Queue: Natalie Chouinard <chouinard@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit: | 9562469 | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupAll and subgroupAny Implement subgroupAll and subgroupAny builtins for WGSL, SPIR-V IR backend (not AST), MSL AST and IR backends and HLSL AST and IR backends. Subgroup builtins are not yet implemented for the GLSL backend. Bug: 354738715 Change-Id: I9b3d1401ccca9b56e361f2b893812e3d3a42b4e2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201916 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | 7be306a | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupMin and Max Bug: 354738715 Change-Id: Ia51dcee4c226d975f5df298cee03f3e3d4d9f47e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201834 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | e9e450e | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint] Implement subgroupAnd, Or, Xor builtins Implement subgroupAnd, subgroupOr and subgroupXor builtin functions for WGSL, SPIR-V IR, MSL (AST and IR) and HLSL (AST and IR) backends. Skip expectations for Tint end2end tests have also been regenerated for all subgroup builtins for FXC. Bug: 354738715 Change-Id: Ief085297c5d659faaf0c5f8893357fc92dccb21f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201695 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | d0cf77e | |
---|---|---|
Author: | Natalie Chouinard | |
Committer: | Dawn LUCI CQ |
[tint][spirv] Add subgroup(Exclusive){Add,Mul} Add first set of arithmetic subgroup intrinsics and implement in the SPIR-V IR backend using the following mapping: +----------------------+--------------------------+-----------------+ | Built-in | SPIR-V Instruction | Group Operation | +----------------------+--------------------------+-----------------+ | subgroupAdd | OpGroupNonUniform[IF]Add | Reduce | | subgroupExclusiveAdd | OpGroupNonUniform[IF]Add | ExclusiveScan | | subgroupMul | OpGroupNonUniform[IF]Mul | Reduce | | subgroupExclusiveMul | OpGroupNonUniform[IF]Mul | ExclusiveScan | +----------------------+--------------------------+-----------------+ Implementation in other backends will follow. Bug: 354738715 Change-Id: I35db4731f73efa200ba3c6e0b5983943dfe77bf0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200918 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Natalie Chouinard <chouinard@google.com>
Commit: | 39b828e | |
---|---|---|
Author: | Loko Kung | |
Committer: | Dawn LUCI CQ |
[fuzzers] Fix WGPUStringView in LPM fuzzer gen code. - Update how we handle LPM fuzzer code generation with the new WGPUStringView Bug: 42241188 Change-Id: I9e7552bbd38e3701ea38a2cb047f748a4a29b51e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200076 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com>
Commit: | d015151 | |
---|---|---|
Author: | Gregg Tavares | |
Committer: | Dawn LUCI CQ |
Add support for first and either sampling parameter This adds support for `@interpolate(flat, first)` and `@interpolate(first, either)`. If no sampling parameter is provided it's assumed to be 'first'. 'first' is not allowed in compat mode. Bug: 340278447 Change-Id: Ic18ffc6680470f485e6c0da220f05f01cf0fb786 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195234 Commit-Queue: Gregg Tavares <gman@chromium.org> Reviewed-by: James Price <jrprice@google.com>
Commit: | c260705 | |
---|---|---|
Author: | Corentin Wallez | |
Committer: | Dawn LUCI CQ |
Fix fuzzer build with the {Destroy->Unregister}ObjectCmd Bug: 344963953 Change-Id: I6aae7c130d12739eded6ccbd58d39c1f6a7a4edc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/197494 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Commit: | ba8861a | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[ir] Add @color to protobuf format Change-Id: Ic626482207aca90b491ba1abfa94c10c18615b71 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196967 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 0ca73db | |
---|---|---|
Author: | James Price | |
Committer: | Dawn LUCI CQ |
[ir] Split Location and Interpolation getters This makes the getters consistent with the setters and the underlying attribute fields. Split the fields in the IR protobuf format to match. Change-Id: Id8eee49e8ffa8f7969bcd4cdc81b8866281debb9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196961 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | d5521a9 | |
---|---|---|
Author: | Ryan Harrison | |
Committer: | Dawn LUCI CQ |
[tint][fuzz] Migrate proto definitions to common lib directory The fuzzing proto depends on the ir proto, so needs to reference it. Additionally tooling like the tint cli (and the future fuzz case assembler) will need to reference the fuzzing proto. Instead of having these leaf node targets reaching into other leaf node directories, move the generated proto targets up into a common utils location. The encode/decode methods for doing IR <-> PB conversion are left in the ir/ directory, becasue they need to access lots of the IR internals. Issue: 345204573 Change-Id: Ia0c91cacd2546d5bb932e6c833ed3cceeff515fc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195335 Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com>
Commit: | 00bd53e | |
---|---|---|
Author: | Loko Kung | |
Committer: | Dawn LUCI CQ |
[dawn][fuzzer] Update lpm fuzzer for callback info/function types. - Properly handle the new callback info/function categories added to dawn.json in lpm fuzzer generated files. Bug: 42241461 Change-Id: Iafe9b5990f729a4bd3bc3658775273ae5d5cff58 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195096 Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com>
Commit: | 9689a47 | |
---|---|---|
Author: | Loko Kung | |
Committer: | Dawn LUCI CQ |
[dawn][fuzzer] Skip serializing DeviceDescriptor callback structs. - Skip serializing these structs for now since they breaking the Dawn->Chromium roll. Change-Id: Idff3a8fede0e23cb64b87d09bbf3308d62cea60d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195094 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Auto-Submit: Loko Kung <lokokung@google.com>
Commit: | 5e1a2a0 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Land prototype fuzzer This is based of Ben's work in https://dawn-review.googlesource.com/c/dawn/+/189713 This is a WIP version of the IR fuzzer. It is not production ready, and thus guarded via the `tint_build_ir_fuzzer` flag to have it disabled by default. Fixes: 345151272 Change-Id: I8e29fef5094aec9397b59417212d8f7d0cadc23b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/191842 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit: | c224131 | |
---|---|---|
Author: | Le Hoang Quyen | |
Committer: | Dawn LUCI CQ |
Tint: Add inputAttachmentLoad to core.def, wgsl.def, IR Bug: 341117913 Change-Id: I2f67f72458deed4a6764e79b68181ce15f2c13ca Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/189860 Reviewed-by: dan sinclair <dsinclair@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Auto-Submit: Quyen Le <lehoangquyen@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>
Commit: | 01ef49d | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Add error handling to the binary decoder Catch invalid protobuf patterns before passing them to the IR builder and various type constructors. Change-Id: Ib47a82bc7ae68d725c3e668be38344eac8ac2f3e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/189707 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | 12f92c5 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Split BreakIf arguments into two lists One for the next-iteration. One for the loop exit. Validation will be done as a followup CL. Change-Id: Iee36c9043b70e9b7ffbc92ef1f28e77d9de996f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/187686 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | 2468be5 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][fuzz] Remove old fuzzers All WGSL fuzzers have been reimplemented with the new `foo_fuzz.cc` framework. SPIR-V fuzzers and mutation are removed for now. Fixed: tint:2223 Change-Id: I4e4eebc1521c6dcdf59725f6d1b11c1e00cd1ec6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186049 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com>
Commit: | f7c7b93 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Ensure all enumerators are serialized Don't use default cases. They prevent compiler errors when cases are added without updating the switches. Bug: tint:2223 Change-Id: I2a30466b14b269e3114459a7947939519941922f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/185580 Reviewed-by: James Price <jrprice@google.com>
Commit: | 0880e06 | |
---|---|---|
Author: | Corentin Wallez | |
Committer: | Dawn LUCI CQ |
Rename @index -> @blend_src Bug: dawn:2380 Change-Id: I08b73f95d7ff8f196ceac46a16a7f73e7abdf998 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171841 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Commit: | 514a18a | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Use intrinsic table for binary ops. Much like BuiltinCall, make ir::Binary abstract, with a derived class for each dialect. Add ir::CoreUnary to hold the core-dialect binary operators. Make the validator consult the dialect's intrinsic table. Change-Id: I798cd0d2c3d417b95e959ef9551e5c2b1f2fb34d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168226 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | b865a1e | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Use intrinsic table for unary ops. Much like BuiltinCall, make ir::Unary abstract, with a derived class for each dialect. Add ir::CoreUnary to hold the core-dialect unary operators. Make the validator consult the dialet's intrinsic table. Change-Id: I08331410c1ea318f6681b90f42ebe9923e27eed2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168225 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 10c56f6 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize DepthMultisampleTexture types Change-Id: I9d5f976f18bbd4977c34eaeda4e75e5043e63b20 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165064 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | a35b8d4 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Unreachable instruction Change-Id: I82796d8cbc0edefad9f1e9ff3f98146781e69326 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165063 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 4c87ddf | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize MultisampledTexture types Change-Id: Ic83a1644ae5eeea3e8cd980136f1e64b1cd74507 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165062 Reviewed-by: dan sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | e8b7b02 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize function parameter attributes Change-Id: I9dde39b1a14b37c4021d2e84c8f78b18205b991f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165042 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | 7f41293 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize more function return attributes Change-Id: I96a8cd04eb55da886740acc2c5f226d1b2fa5cf0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165044 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | fc24576 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Bitcast instructions Change-Id: Ibc4e812367b10268c4bc431e3f47e7a63ecec443 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165061 Reviewed-by: dan sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 07177d5 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize ExternalTexture Change-Id: I27c69640e09b8c94b36dbd48a26218a0a165b9c8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165060 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Commit: | ae7600a | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize StorageTexture types Change-Id: I00e403acd158edfdffd52b5acf334f0c5f56a928 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164893 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | 615eeaa | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize SampledTexture types and fn return location Refactor the Interpolation logic so that it can be reused by function returns and structures. Change-Id: I798b6b94dcf43bececca169d7a81673f640bd1db Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164891 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 988ce82 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Loop instructions Change-Id: I189ea4feea103742363bb57409c1d32d4ef898de Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164886 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 7267e7e | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Sampler types Change-Id: I67a9a88ef2a769a40b3cc29703a69eddb379dce8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164889 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 8004588 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize DepthTexture types Change-Id: I0e0dfeeadcafc055f36cbbcaf33b72bfb5fa52c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164887 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | f8db1ec | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Switch instructions Change-Id: I3741dd6cdde76ad8f2773d6c1011aa8cc372fcce Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165004 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | abd95ba | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Convert instructions Change-Id: I1e2b73ee75470fda6690f00cc5ff50335f0d8838 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164884 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 65d0b6d | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Atomics Change-Id: Ia4ab4f79221e8e4729006224919da3f6588972d3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164885 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | cbd7bc5 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize If instructions Change-Id: I6759a7f9865be722076eceb0c54363273ad8c3ff Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/165003 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | cdcbe83 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize CoreBuiltinCall instruction Change-Id: Ib2221814f6e6c8756c0251de544e659f5b7c8417 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164883 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | c027f09 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize struct types Change-Id: I9564415b2dcf021b688fc915f0ab3a0a25e5be4d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164882 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | b725dae | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Rename type proto messages Prefix types with 'Type' instead of suffix. Matches 'Instruction' naming. Change-Id: I99337c8156fa5151378702838dfe2e2575e56bf9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164881 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | 3f11e1e | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Swizzle instruction Change-Id: I24066ea619a3f0fb9c72e6b6046ae34dc81b9c5d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164880 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 84a7cbf | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize [Load|Store]VectorElement instructions Change-Id: If6d5827475b3342a0098927b02b25f96e0577dff Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164780 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | c668c16 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Unary and Binary instructions Change-Id: Ie84524e7046562bdc65268b8598150c1761c3477 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164745 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | dacc263 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Var binding points Change-Id: I8f64f3142d77ae1570694f9ab73ca52133c09fc7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164744 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 112549b | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize UserCall Change-Id: Ie005fba83b061cc3b964c038840e3ea82ab64fb6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164741 Reviewed-by: James Price <jrprice@google.com> Kokoro: Ben Clayton <bclayton@google.com>
Commit: | 7d9a66e | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize the root block Change-Id: I8656582564e8872fb484d266b2ed4a09b5f81d4e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164743 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | cba30d2 | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize Load and Store instructions Change-Id: Id5d2872ef5d512eaf8480a4d8ab499abd5b5c67e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164742 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 0bc3026 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize fixed-size array types Change-Id: I99eec54fdf6c713c7dd9ddd925ee09c05d0ead7a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164740 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Ben Clayton <bclayton@google.com>
Commit: | 7f9721d | |
---|---|---|
Author: | Ben Clayton |
[tint][ir] Serialize var instructions and pointer types. Change-Id: I7533e3aa7ab41536cd15f5c9d4eabba2d5e203c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164663 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 3f620ab | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Access instructions Change-Id: Idb562aad006904c959a7ab1c12c90fb574f7873f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164662 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | fc5664a | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize vectors and matrices Change-Id: If235d220328032ba73d71d61ff79f022a6082ddb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164661 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 4eff8be | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize constant scalars and lets Change-Id: I6f8fcd5f39baac3fadef3636a79bcada9b1f08c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164660 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 85b6735 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Serialize Discard instructions Change-Id: Ic1af98f7dd4110c2f7417993cf0b00cd10ccf77a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163885 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com>
Commit: | 3ee81db | |
---|---|---|
Author: | David Neto | |
Committer: | Dawn LUCI CQ |
Fix license: it's BSD-3 not Apache 2 Change-Id: Iab79b851498fa7553e258d10031b9a6cba8e8dc8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/164340 Commit-Queue: David Neto <dneto@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | 90c7cc2 | |
---|---|---|
Author: | Ben Clayton | |
Committer: | Dawn LUCI CQ |
[tint][ir] Begin building proto-based serializer Change-Id: Idf01b213b642afb4614ee0b0dbc4d1a70979cc70 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155702 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Commit: | cc2516a | |
---|---|---|
Author: | Austin Eng | |
Committer: | Dawn LUCI CQ |
Relicense Dawn to BSD 3-Clause Change-Id: I57d815750c540b17ce9c2aaa77a9135533f38a19 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155561 Kokoro: Austin Eng <enga@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit: | d03da69 | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
[DawnLPM] Add optional fields to the lpm grammar Null out the entire structure and handle optional fields within dawnlpm's grammar and serializer. This hits new code paths and substantially increases the amount of coverage the fuzzer can get locally while testing. Change-Id: I1e2f23593dd336867a938683fc2bf0ffca0992e8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/137082 Commit-Queue: Brendon Tiszka <tiszka@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
Commit: | 48a39ff | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
[DawnLPM] Fuzz CreateShaderModule wgsl code Provide raw bytes to CreateShaderModule from protobuf. This will behave like dawn_wire_server_fuzzer's implicit wgsl fuzzer (just fuzzing with raw bytes). Keep the existing pre-defined shader to help guide the fuzzer when fuzzing for object-lifetime bugs. Change-Id: I05cf804d131247636da68b4d005ee2f262c031a3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/137080 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
Commit: | 46403ed | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
[DawnLPM] Add raw pointer serialization Add support for serializing raw pointers and function pointers to DawnLPM drive-by: change the build target name to avoid name collision on CF with the old fuzzer Bug: chromium:1374747 Change-Id: I0d04380243a0e4b34d9d7fe5fe8d057d2b026aca Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/135240 Commit-Queue: Brendon Tiszka <tiszka@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit: | f9f9f82 | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
Add Dawn Wire Server LPM Fuzzer [5/N] Add custom C++ serializer for methods that need to be handwritten Bug: chromium:1374747 Change-Id: I438db05b6fd6d1a1542d847c4b40f22b9143b0d5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114721 Commit-Queue: Brendon Tiszka <tiszka@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | 27521c6 | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
Add Dawn Wire Server LPM Fuzzer [4/N] Implements C++ serializer implementation that translates protobuf objects into Dawn serial data. 1) A generator that builds a fuzzing harness that converts LPM structured data into serialized bytes, that are then sent to Dawn Wire Server. 2) Object store for dawn objects that are allocated and freed. Bug: chromium:1374747 Change-Id: I09c1be6cdc2eccf4a91de808f19494d97d01b3d6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114720 Commit-Queue: Brendon Tiszka <tiszka@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
Commit: | 1f8413f | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
Add Dawn Wire Server LPM Fuzzer [3/N] Add ability to define custom protobuf structures for commands that need to be hand written. Bug: chromium:1374747 Change-Id: I69d5c55d69c3544835a23e4e0360900b991ccbd3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114643 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
Commit: | a045643 | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
Add Dawn Wire Server LPM Fuzzer [2/N] Add generators for protobuf files. This CL contains the basic logic required to generate the protobuf files from dawn.json and the newly added dawn_lpm.json for libprotobuf-mutator. Bug: chromium:1374747 Change-Id: I5dd207ed94ecdac365306c26e79b6cc18d3978f6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/114640 Reviewed-by: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
Commit: | d0b284b | |
---|---|---|
Author: | Brendon Tiszka | |
Committer: | Dawn LUCI CQ |
Add Dawn Wire Server LPM Fuzzer [1/N] Add scaffolding for structured Dawn wire fuzzer. This CL contains a basic fuzzer for Dawn wire server that shows some simple design ideas: 1) A basic protobuf spec that is generated using dawn.json 2) conversion from protobuf message to a dawn wire server command. This is not the complete implementation and serves as a foundation for the fuzzer so that subsequent CLs will be easier to review. Bug: chromium:1374747 Change-Id: Ife1642dda13d01d3308bdd5fe56cf85978399fd3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109406 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Brendon Tiszka <tiszka@chromium.org>
Commit: | 953d610 | |
---|---|---|
Author: | Shiyu Liu | |
Committer: | Dawn LUCI CQ |
AST fuzzer: mutation that deletes statements Adds a mutation that deletes a statement. Fixes: tint:1110 Change-Id: I8a8595378481d12e7586103e2e88a0858d869ef9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/88446 Commit-Queue: Alastair Donaldson <afdx@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
Commit: | b3aab09 | |
---|---|---|
Author: | Author: Shiyu Liu | |
Committer: | Dawn LUCI CQ |
AST fuzzer: Change unary expression operator Adds a mutation that changes the operator used in a unary expression to some other type-compatible operator. Fixes: tint:1486 Change-Id: Icf87652fe9ceedcded88d47daece7401a7811873 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/87223 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Alastair Donaldson <afdx@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Alastair Donaldson <afdx@google.com>
Commit: | 79db32a | |
---|---|---|
Author: | Shiyu Liu | |
Committer: | Tint LUCI CQ |
AST fuzzer: wrap unary operator Add a mutation that wraps an expression in a unary operator. Valid unary operators depend on the type of the expression. Fixes: tint:1111 Change-Id: If5a63c5da7e3c212acbec4e838d6542303e59481 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/62000 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Alastair Donaldson <afdx@google.com>
Commit: | 444e051 | |
---|---|---|
Author: | Alastair Donaldson | |
Committer: | Tint LUCI CQ |
AST fuzzer: change binary operator A mutation and mutation finder that changes the operator in a binary expression to something type-compatible. Fixes: tint:1085 Change-Id: I2e35d3cdfdbcc52d4dc5981b187da217fc48e462 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/84640 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Alastair Donaldson <afdx@google.com> Auto-Submit: Alastair Donaldson <afdx@google.com>
Commit: | dbc13af | |
---|---|---|
Author: | Ryan Harrison | |
Committer: | Tint LUCI CQ |
tint->dawn: Shuffle source tree in preperation of merging repos docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit: | c6bcab0 | |
---|---|---|
Author: | Vasyl Teliman | |
Committer: | Tint LUCI CQ |
Implement AST fuzzer This change implements a new fuzzer. It mutates a WGSL shader by traversing the AST of a program and applying various transformations that might or might not be semantics preserving. Change-Id: I6b144bd1067444c3f0b815ba1a646aaf6e739b52 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/52160 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Vasyl Teliman <vasniktel@gmail.com> Reviewed-by: Alastair Donaldson <allydonaldson@googlemail.com> Reviewed-by: Ben Clayton <bclayton@google.com>