dawn-cmake/examples
Corentin Wallez 73b7cd624f Add missing WebGPU limits to Constants.h
This will help check that the Vulkan devices are enough for WebGPU in
a following CL.

In addition to additional limits this CL:

 - Change maxColorAttachments 4 -> 8 to match WebGPU
 - Renames kMinDynamicBufferOffsetAlignment to
   kMinUniformBufferOffsetAlignment.
 - Renames kMaxVertexBufferStride to kMaxVertexBufferArrayStride.
 - Changes validation of buffer offsets to use the separate uniform and
   storage limits (but no test is added because they are the same).
 - Adds validation and a test for kMaxStorageBufferBindingSize.
 - Augment the null::Device memory limit for that new test (it allocates
   a buffer of 512MB).
 - Fix the maxColorAttachment test to not use hardcoded values.

Bug: dawn:796
Change-Id: Ibe4219130a44355ae91c02aaa0a41cf5d9f9e234
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56081
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2021-06-29 08:12:00 +00:00
..
Animometer.cpp Add missing WebGPU limits to Constants.h 2021-06-29 08:12:00 +00:00
BUILD.gn Autoformat all tests and examples 2020-07-10 20:33:08 +00:00
CHelloTriangle.cpp Add scoped autoreleasepool to tests and examples 2021-06-24 19:21:31 +00:00
CMakeLists.txt Add initial CMakeLists.txt files 2020-02-05 17:16:05 +00:00
ComputeBoids.cpp Update compute shaders tests to include workgroup_size 2021-06-29 00:10:01 +00:00
CppHelloTriangle.cpp Add scoped autoreleasepool to tests and examples 2021-06-24 19:21:31 +00:00
CubeReflection.cpp Add scoped autoreleasepool to tests and examples 2021-06-24 19:21:31 +00:00
ManualSwapChainTest.cpp Add scoped autoreleasepool to tests and examples 2021-06-24 19:21:31 +00:00
SampleUtils.cpp Split #defines for OpenGL and OpenGL ES backends. 2021-05-17 18:04:48 +00:00
SampleUtils.h Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00