| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[spir-v] Generate SubgroupMatrix info in SPIR-V backend. Update the SPIR-V backend to generate the SubgroupMatrix configuration information and place in the returned output. Fixed: 459779965 Change-Id: Iac78d513d6df620248061c08be04a37ba0d144f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275095 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
[spir-v] Generate SubgroupMatrix info in SPIR-V backend. Update the SPIR-V backend to generate the SubgroupMatrix configuration information and place in the returned output. Fixed: 459779965 Change-Id: Iac78d513d6df620248061c08be04a37ba0d144f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275095 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
[spir-v] Generate SubgroupMatrix info in SPIR-V backend. Update the SPIR-V backend to generate the SubgroupMatrix configuration information and place in the returned output. Fixed: 459779965 Change-Id: Iac78d513d6df620248061c08be04a37ba0d144f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275095 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
Convert EnableIfIsOStream to a concept. Change the EnableIfIsOstream machinery to use a concept and update usages to requires statements. Change-Id: I211a42adc170ef8b31f2f3908c58810f834aaadd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/239034 Auto-Submit: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 1 年前 | |
[tint] Improve TINT_ASSERT_ALL_FIELDS_REFLECTED() Field and class alignment could result in false positives. Migrate the assertion from a compile-time static assertion, to a google-test ASSERT_EQ(). This allows the test to check the individual field offsets, which results in a more accurate detection of missing fields. Note: There is still an unavoidable false-negative if the class has an alignment that hides a missing tail field. Change-Id: Ia284cc1d1220b51e2805d42e22dda2dfeff93b6f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173960 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> | 2 年前 | |
Consolidate binding information where possible. This CL consolidates the binding configuration options for the HLSL, MSL and SPIR-V backends into a common api/common/bindings.h file. The bindings are similar for the three backends. The major differences are: * input_attachment is now available to all backends even though it mostly isn't used * A couple extra HLSL options have been pulled out of bindings and into the higher level configuration structure. Change-Id: I50c15292a86db12e7ea6e9303040f190828f5629 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/263294 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 9 个月前 | |
Consolidate some utils folders Several of the utils/ folders have as many, or more, BUILD files then actual files. This Cl consolidates some of those into larger folders. Change-Id: Ie378d5575f421327e4011c496c06875ea1245027 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/216414 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 1 年前 | |
[tint] Improve TINT_ASSERT_ALL_FIELDS_REFLECTED() Field and class alignment could result in false positives. Migrate the assertion from a compile-time static assertion, to a google-test ASSERT_EQ(). This allows the test to check the individual field offsets, which results in a more accurate detection of missing fields. Note: There is still an unavoidable false-negative if the class has an alignment that hides a missing tail field. Change-Id: Ia284cc1d1220b51e2805d42e22dda2dfeff93b6f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173960 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> | 2 年前 | |
Add stub for resource binding transform Start creating the infrastructure for the resource binding transform. This includes creating the options structure and setting up the SPIR-V options to receive the needed options. Bug: 439627523 Change-Id: I42026e99019c24730ea0f1460e1524499f503213 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/258976 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 10 个月前 | |
[bindless] Generate SPIR-V for resource table. Add the needed support in order to generate the resource table implementation in the SPIR-V backend. Fixed: 463345048 Change-Id: I09c6aa904e776d16dd243cc386a9e07bf7f503dc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/276574 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
[dawn][native] Update typeId metadata for dynamic binding arrays. This metadata is used inside shaders to know what to return for hasBinding<T>(resource_binding, iu32) for the various kinds of T. This CL adds all the mechanisms to track and update the typeIds but only makes the difference between "empty" and "texture_2d<f32>". - In Textures, add a map of all the (DynamicArrayState, slot) they are referenced in, and maintain it as DynamicArrayStates are created and destroyed. (this map contains WeakRefs to the DynamicArrayState to break what would otherwise be a ref cycle), - Add support for Hash to WeakRef for the above map. - Notify the DynamicArrayState on texture.Pin/Unpin so that it can track the "pinned" status of each slot. - In DynamicArrayState maintain the tint::ResourceType for each slot and return a list of updates to the metadata that backends must perform before using the dynamic binding array. - In the Vulkan backend, implement this update of the binding array metadata. - Fix an issue in Vulkan where setting a destroyed texture in the dynamic binding array at creation, would cause a VK_NULL_HANDLE to be written in vkWriteDescriptorSets, which is invalid. - Add a bunch of tests that hasBinding works correctly to exercise the newly added code paths. Bug: 435317394 Change-Id: Ie5a4568f033cb3f8d0d7dac29a9575514564a32e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/259875 Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> | 10 个月前 | |
[spir-v] Generate SubgroupMatrix info in SPIR-V backend. Update the SPIR-V backend to generate the SubgroupMatrix configuration information and place in the returned output. Fixed: 459779965 Change-Id: Iac78d513d6df620248061c08be04a37ba0d144f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/275095 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 7 个月前 | |
[null] Add a simple Null backend to Tint. This CL adds a Null backend which just runs SingleEntryPoint and SubstituteOverrides and then returns the resulting workgroup information. It is used by the DeviceNull backend in Dawn removing the need to call the transforms directly. This makes DeviceNull behave in a fashion similar to the other devices. Change-Id: I80ca8ac1831f877198ec5ab51cfed6c2041f36b3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/268257 Reviewed-by: James Price <jrprice@google.com> Auto-Submit: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org> | 8 个月前 | |
[tint] Move vertex pulling structures to a separate file This will allow these structures to be reused by the IR version of the transform, and also by the backend options structure. Bug: 380044409 Change-Id: If34718cce04626daa6fbaab259984b0821c2d622 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222018 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> | 1 年前 | |
Implement hashing and equality for Tint MSL Options and its member types Add TINT_REFLECT_EQUALS and TINT_REFLECT_HASH_CODE helper macros that generate operator== and HashCode implementations based on reflected fields. Also, add missing Hash specializations for unordered_map/set and optional. Will be used for caching MTLLibrary objects based on a MetalShaderParams key type that includes the Tint MSL Options. Bug: 42241511 Change-Id: I6a6a6964d2f6d2d705066524824dd643c865f480 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/255568 Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> | 10 个月前 | |
[tint] Move vertex pulling structures to a separate file This will allow these structures to be reused by the IR version of the transform, and also by the backend options structure. Bug: 380044409 Change-Id: If34718cce04626daa6fbaab259984b0821c2d622 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222018 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 7 个月前 | ||
| 7 个月前 | ||
| 7 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 7 个月前 | ||
| 10 个月前 | ||
| 7 个月前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 |