These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)
| Commit: | c8f5ca3 | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[ir][fuzz] Enable fuzzing of buffers * Update proto to support override-sized buffers * Enable decoding of buffer types * Enable the buffer_view feature in wgsl fuzzing * Add a couple extra IR validation checks for buffer types * Add a new property to restrict certain fuzzing Fix: 474324630 Change-Id: I87d9b34963c3fd211af4cb41a2308cb67b72c1c8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/319355 Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Alan Baker <alanbaker@google.com> Reviewed-by: James Price <jrprice@google.com> Auto-Submit: Alan Baker <alanbaker@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
The documentation is generated from this commit.
| Commit: | 2f2ebd3 | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[ir] Support non-type template parameters * Switches template parameters in ir::Call to TemplateParameter * brought into scope from core::intrinsic for convenience * updates all uses * Still not yet used in core or any backend Bug: 520804445 Change-Id: I41302444cd528c8dd0a65fc7ad716272e1dda48f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/317195 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Alan Baker <alanbaker@google.com>
| Commit: | db239f7 | |
|---|---|---|
| Author: | James Price | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[ir] Add protobuf support for constexpr_if Missed this one when adding override support. Bug: 402760393 Change-Id: I2c7d0899d75dceefa25a230f3002c02154e76c3a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/312035 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: James Price <jrprice@google.com>
| Commit: | 950acd9 | |
|---|---|---|
| Author: | James Price | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[ir] Add ValueArrayCount support to protobuf Add an optional ArrayCountKind field to the array type. If present, it determines how the `count` field should be interpreter, otherwise fall back to the existing logic. Decode now creates values lazily instead of all at once. This is because types now potentially need values, but values also need types. Bug: 402760393 Change-Id: I489d1636bfbf3bc86ea7a5c60c912a542453d8e3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/311938 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
| Commit: | d06cb02 | |
|---|---|---|
| Author: | James Price | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[ir] Add override support to protobuf Add basic roundtrip testing. ValueArrayCount will be handled in a separate CL. Bug: 402760393 Change-Id: I398b025a71113b20553a93a8b6529100d7107d6b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/311937 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: James Price <jrprice@google.com>
| Commit: | be1eb3c | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | dawn-scoped@luci-project-accounts.iam.gserviceaccount.com | |
[tint] Fix integer overflow issues with buffers * Fix underflow in propagate buffer sizes * Fix overflow in robustness * Add new builtin call addSat for saturated addition * implement in each backend Bug: 512927168 Change-Id: I2ce779e3d9a41f33c79c0152179ac4898141d38d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/308875 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Alan Baker <alanbaker@google.com>
| Commit: | c1866d8 | |
|---|---|---|
| Author: | dan sinclair | |
Remove filterability from intrinsics This CL removes all of the filterability annotations from the def files and type matches. Bug: 507087175 Change-Id: I87f940bce094a751733812396714f88d2c594ac4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/305376 Reviewed-by: James Price <jrprice@google.com> SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com>
| Commit: | 4f6aed5 | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | Dawn LUCI CQ | |
[wgsl] Add bufferArrayView builtin function * Add support to bufferArrayView in WGSL and IR * Change runtime-sized array validation rules * Allow in more places, but forbid variables most places that don't have fixed sizes * Fix type flags for buffer Fix: 493030275 Bug: 474820386 Change-Id: I2267296b3cb405e38c79fac59e49bd123e9886bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/297275 Auto-Submit: Alan Baker <alanbaker@google.com> Commit-Queue: Alan Baker <alanbaker@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | e271ac9 | |
|---|---|---|
| Author: | James Price | |
| Committer: | Dawn LUCI CQ | |
[ir] Change bitcast to a builtin function This makes the core IR consistent with the WGSL frontend, and simplifies the way we validate bitcast input/output types. Fixed: 477289753 Change-Id: I81aac2d1eee1bbf37042f2af06e89028ca72f553 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/296380 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com>
| Commit: | f8bb650 | |
|---|---|---|
| Author: | Peter McNeeley | |
| Committer: | Dawn LUCI CQ | |
[dawn] Adding experimental atomic_vec2u_min_max feature for vulkan This initial commit does some of the leg work for future backends as it adds types and function definitions. It also adds the specialized lowering transform that takes the atomic vec2u type to an internal atomic<u64> type. There are currently no CTS tests for this change and it is not in the official spec. However the proposal has been accepted [1]. [1] https://github.com/gpuweb/gpuweb/blob/main/proposals/atomic-64-min-max.md Bug:453689550 Change-Id: I29f311a4ef4d846bea99f4df525f96989ae40e76 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/279375 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Peter McNeeley <petermcneeley@google.com>
| Commit: | 67971aa | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | Dawn LUCI CQ | |
[wgsl] Support linear_indexing New language feature `linear_indexing` Two new builtins: * `global_invocation_index` * `workgroup_index` Bug: 482840263 Change-Id: I2ba8e79c13bf41372492a138a6c25368bdceeb2d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/291195 Commit-Queue: Alan Baker <alanbaker@google.com> Reviewed-by: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
| Commit: | c20ab4b | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
[bindless] Add validation for filterability Add validation rules for filterability parameters. Bug: 479566307 Change-Id: I710f579572ed1e713db106863f14516418c1771e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/288936 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | 1915fc7 | |
|---|---|---|
| Author: | Alan Baker | |
| Committer: | Dawn LUCI CQ | |
[wgsl] Add buffer_view language feature WGSL support for buffer_view language feature * New buffer type can represent sized and unsized buffer * two new builtin functions: bufferView and bufferLength Fixed: 467492010, 468472623 Change-Id: I80b03cd240ffc054bbfdcb87b9b5423c7a6e6c13 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/280235 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Alan Baker <alanbaker@google.com> Auto-Submit: Alan Baker <alanbaker@google.com> Reviewed-by: James Price <jrprice@google.com>
| Commit: | 94498eb | |
|---|---|---|
| Author: | dan sinclair | |
Remove `resource_binding`. This removes the `resource_binding` type from tint in favour of the new resource table functionality. Bug: 463925499 Change-Id: I6ec47810d9db72bec1b67df2e05029bec69e63bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/281557 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | f7c52f2 | |
|---|---|---|
| Author: | Jiawei Shao | |
| Committer: | Dawn LUCI CQ | |
[ir] Validate attribute `subgroup_size` in IR validator This patch adds the attribute `subgroup_size` and all the related validation in Tint IR validator. - `subgroup_size` must be a constant or override expression - `subgroup_size` must be `i32` or `u32`. - `subgroup_size` must be greater than 0. - `subgroup_size` must be a power of 2. Bug: 463721943 Change-Id: I9de573e6253de3f66d0ee4809674d5f49881671a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/280415 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Shao, Jiawei <jiawei.shao@intel.com>
| Commit: | a387d4e | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
[bindless] Setup core and wgsl def entries for resource table. Add the `getResource` and `hasResource` entires to the core.def and wgsl.def files. Setup the backends to reject the new methods in the CanGenerate methods. The `getResource` auto-generated tests are skipped as they break the template (they need to be used in a texture function, not stored like all other cases are). Fixed: 463344960 Change-Id: If9b4beb545fbfe09d0f4ab9e884d79376026bc69 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276376 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | 36e720e | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add subgroupMatrixScalarSubtract for WGSL backend. Add the core and WGSL backend support to roundtrip a subgroupMatrixScalarSubtract instruction. Fixed: 457423922 Change-Id: Icea36ee526aedb4c738422af117929c54e1c5f88 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/270734 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | 31c7b34 | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add subgroupMatrixScalarMultiply for WGSL backend. Add the core and WGSL backend support to roundtrip a subgroupMatrixScalarMultiply instruction. Fixed: 457426175 Change-Id: Ied773ae01d6acf102ed27cbfb2f270ead558c993 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/270715 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | 572de57 | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add subgroupMatrixScalarAdd for WGSL backend. Add the core and WGSL backend support to roundtrip a subgroupMatrixScalarAdd instruction. Fixed: 457423607 Change-Id: Iddf0ff44877054d67e3839288e77ea489f549a3d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/270714 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | 47153db | |
|---|---|---|
| Author: | James Price | |
| Committer: | Dawn LUCI CQ | |
[wgsl] Add num_subgroups builtin This is just the WGSL frontend support. The builtin is not hooked up in any backend yet. Bug: 454652043 Change-Id: Ia5ad1e1a5e37185ae5195201d9b45a1473210c62 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/268576 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com>
| Commit: | eca1e8f | |
|---|---|---|
| Author: | Ryan Harrison | |
| Committer: | Dawn LUCI CQ | |
[tint] Remove 'stride' from ir.proto Removes the field, and reserves the number/name. Fixes: 441321296 Change-Id: I0bc9bd486dd6867cc00285e781e193ca5b0dfd7b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261117 Commit-Queue: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | f97f51f | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add support for parsing getBinding. Add support to parse `getBinding` and emit from the WGSL printer. Bug: 439626491 Change-Id: I5ab6ac02bc76a7ab60d4e916515d1d2f5cab0590 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259498 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | fcc9f83 | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add support for parsing hasBinding. Add support to parse `hasBinding` and emit from the WGSL printer. Bug: 439626491 Change-Id: Ie56836d47983d1f0db40ebe9802193d3c6095a62 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259534 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | 00fb9db | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
Add arrayLength parsing for resource_binding Add the intrinsic for `arrayLength` with a `resource_binding`. Bug: 439626491 Change-Id: I92c86669f930a2a3096136002014ae9ec358eef3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259494 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
| Commit: | d57639f | |
|---|---|---|
| Author: | Brandon Jones | |
| Committer: | Dawn LUCI CQ | |
primitive_id -> primitive_index Update the name of the primitive_id feature to primitive_index based on final name decided on by the working group. The old chromium-experimental-primitive-id feature is kept around temporarily to assist in rolling into Chrome but should be removed soon as it's unlikely that any Dawn users have begun using this version of the feature. Using No-Presubmit to avoid a bug with Tint presubmit checks and renaming a symbol. See https://issues.chromium.org/u/1/issues/440321534 Bug: 342172182 Change-Id: Ifa73188eee044b234ce6cfb9479608cbae25bd61 No-Presubmit: true Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/257695 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
| Commit: | 8409182 | |
|---|---|---|
| Author: | Brandon Jones | |
| Committer: | Dawn LUCI CQ | |
[tint] Add support for `barycentric_coord` Add support for a `barycentric_coord` builtin. The builtin is behind a `chromium_experimental_barycentric_coord` enable. Does not include support for non-perspective correct barycentric coordinates. Bug: 433715753 Change-Id: I488abe221ef33d599816e2dd6435332907f33ed2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/254434 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org>
| Commit: | b991ae2 | |
|---|---|---|
| Author: | James Price | |
| Committer: | Dawn LUCI CQ | |
[wgsl] Add `print(<expr>)` builtin This will print a scalar or vector value. Requires the chromium_print language feature to be available. Bug: 433534277 Change-Id: Ib2c982be8380b32eb65cbdf496144b4761f25f77 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/215275 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com>
| Commit: | 155d5aa | |
|---|---|---|
| Author: | dan sinclair | |
| Committer: | Dawn LUCI CQ | |
[tint] Add support for `primitive_id` Add support for a `primitive_id` builtin. The builtin is behind a `chromium_experimental_primitive_id` enable. Bug: 342172182 Change-Id: I50b3cf87d7ff717e08e7e507400fff7234b59f51 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/252854 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: James Price <jrprice@google.com>
| Commit: | 05a4850 | |
|---|---|---|
| Author: | Diego Rodrigues | |
| Committer: | Dawn LUCI CQ | |
[tint][ir] Support `texel_buffer` in the binary IR schema. Change-Id: Ic7535829ab8a9715f4a56bb50ae474080b0afa2c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/252415 Commit-Queue: Diego Rodrigues <diejorarr@gmail.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org>
| Commit: | 01b46e4 | |
|---|---|---|
| Author: | David Neto | |
| Committer: | Dawn LUCI CQ | |
[tint]: support {r|rg|rgba}16{unorm|snorm} Tier1 formats - Add new texel format definitions - Update Language def tables - IR protobufs: definition and encode/decode - Update resolver unit test, and validator - Update type manager and backend printers - Update inspector resource bindings - Update failure message in HLSL unit test - Generate end2end test results, including skips for GLSL Bug: 421948908 Change-Id: Ifb42ef9f6f1e63e7ec077e477ee08827476cf2d4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/251315 Commit-Queue: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com>
| Commit: | 6a809e4 | |
|---|---|---|
| Author: | David Neto | |
[tint] Support texture-format-tier1 Tint changes: - Update core/texel_formats.def - Update language specific def files: - Classify new texel formats as yielding f32, i32, u32 data - Update language-specific printers - WGSL resolver validation - Update IR proto - Update IR validation test for message change - Update error message in unit test - Update resource binding enums, and inspector mappings - Generate skips for GLSL backend end2end tests Dawn changes: - Update resource binding mappings from Tint inspector Update expectations for validation tests that should pass but need to be updated in CTS. This needs additional changes in dawn/native/Format.cpp, which is already in flight Fixed: 421948908 Change-Id: Ibc18ac2a28d2439362ded9811e67282ca0c73f3e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/250734 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| Commit: | 40dca38 | |
|---|---|---|
| Author: | Corentin Wallez | |
| Committer: | Dawn LUCI CQ | |
[tint][pbir] Add support for sized binding_array Bug: 419314986 Change-Id: I1dcab3e4d898138a8b8c2bc609ce87f7188264bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245157 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
| Commit: | bd6607f | |
|---|---|---|
| Author: | Jiawei Shao | |
| Committer: | Dawn LUCI CQ | |
Reland "[tint] Support i8 and u8 as valid subgroup matrix element types" This reverts commit ff21c3bd07522ed3c327369f97d1ae5995e10e1e. Reason for revert: Added the missing `i8` and `u8` in ir.proto Bug: 348702031 Original change's description: > Revert "[tint] Support i8 and u8 as valid subgroup matrix element types" > > This reverts commit abdadb38c90ca77abf5466360cf5a0269a7ca112. > > Reason for revert: Makes the Tint IR fuzzer checks fail on > test/tint/builtins/gen/literal/subgroupMatrixMultiply/ca1f97.wgsl > because of an unhandled tint::core::type::I8. > > Bug: 348702031 > Original change's description: > > [tint] Support i8 and u8 as valid subgroup matrix element types > > > > This patch supports i8 and u8 as valid subgroup matrix element > > types and ensures i8 and u8 cannot be used in any other situations. > > > > Bug: 348702031 > > Change-Id: Ia361c47aac02bfbf132b74a2fbb3724ffb08d5e2 > > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243557 > > Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> > > Reviewed-by: James Price <jrprice@google.com> > > TBR=jiawei.shao@intel.com,dneto@google.com,jrprice@google.com,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com > > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: 348702031 > Change-Id: I7729a74b9a558c353ea287726f8b961d83c524d6 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245155 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Corentin Wallez <cwallez@chromium.org> > Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Bug: 348702031 Change-Id: I3b38efaaea802d1c8df2e0641e52581324923131 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245194 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com>
| 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>
| 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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: | 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>