dawn-cmake/examples
Ben Clayton c56868420d Migrate all tests over to using Default Struct Layout
The WGSL spec has been updated with 'Default Struct Layouts':
https://github.com/gpuweb/gpuweb/pull/1447

This removes the `[[offset(n)]]` decoration, and replaces it with two optional decorations: `[[size(n)]]` and `[[align(n)]]`, and a sensible set of sizes and alignments for each type.

Most `[[stride(n)]]` decorations have also been removed from arrays.

Bug: tint:626
Bug: tint:629
Change-Id: Ib0d2741f61ea943e6fb99d00cbb5cab2f97ae7be
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44280
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2021-03-17 09:48:19 +00:00
..
Animometer.cpp Device: Deprecated GetDefaultQueue in favor of ::GetQueue() 2021-02-04 15:33:42 +00:00
BUILD.gn Autoformat all tests and examples 2020-07-10 20:33:08 +00:00
CHelloTriangle.cpp Device: Deprecated GetDefaultQueue in favor of ::GetQueue() 2021-02-04 15:33:42 +00:00
CMakeLists.txt Add initial CMakeLists.txt files 2020-02-05 17:16:05 +00:00
ComputeBoids.cpp Migrate all tests over to using Default Struct Layout 2021-03-17 09:48:19 +00:00
CppHelloTriangle.cpp Rename Buffer/TextureCopyView to ImageCopyBuffer/Texture. 2021-03-04 18:13:45 +00:00
CubeReflection.cpp Migrate all tests over to using Default Struct Layout 2021-03-17 09:48:19 +00:00
ManualSwapChainTest.cpp Device: Deprecated GetDefaultQueue in favor of ::GetQueue() 2021-02-04 15:33:42 +00:00
SampleUtils.cpp Add "opengles" in the helper information of Dawn samples 2021-03-15 08:02:53 +00:00
SampleUtils.h Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00