dawn-cmake/src/common
Corentin Wallez 762814bd92 ityp_array: Allow using a T whose underlying type is signed.
When trying to use ityp_array with an enum class whose underlying
type is int, warnings were fired because of a comparison between signed
and unsigned integers. Fix this by explicitly casting Size to `I` using
a constructor cast.

Bug: dawn:635
Change-Id: I5ee0101684e5847ec5ec6f71a9657fcce839a2a5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38106
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-01-20 20:01:08 +00:00
..
Alloc.h IWYU: add missing include for size_t 2021-01-11 08:20:02 +00:00
Assert.cpp fuzzing: When fuzzing, always ASSERT, and abort() instead of SIGTRAP 2019-12-19 16:07:58 +00:00
Assert.h Rename NXT -> Dawn in the comments 2018-07-18 22:54:06 +02:00
BUILD.gn Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
BitSetIterator.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
CMakeLists.txt Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
Compiler.h Add support for multisampled sampling 2020-06-19 16:21:33 +00:00
Constants.h Add more constants for max texture sizes 2021-01-11 18:04:12 +00:00
CoreFoundationRef.h Use smart Refs for IOKit and CoreFoundation objects. 2020-11-17 11:35:11 +00:00
DynamicLib.cpp Rename src/common macros NXT_* to DAWN_* 2018-07-18 22:54:06 +02:00
DynamicLib.h Rename the copyright authors from NXT to Dawn 2018-07-18 22:54:06 +02:00
GPUInfo.cpp Add GPU detection for WARP 2020-07-10 22:58:48 +00:00
GPUInfo.h Add GPU detection for WARP 2020-07-10 22:58:48 +00:00
HashUtils.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
IOKitRef.h Use smart Refs for IOKit and CoreFoundation objects. 2020-11-17 11:35:11 +00:00
LinkedList.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
Log.cpp Namespace Log.h/cpp in dawn:: 2019-12-06 18:21:39 +00:00
Log.h Namespace Log.h/cpp in dawn:: 2019-12-06 18:21:39 +00:00
Math.cpp D3D12: Align UBO sizes to 256B. 2020-09-17 23:30:40 +00:00
Math.h Support sampling depth and stencil of combined d/s formats 2020-11-04 15:27:11 +00:00
NSRef.h Metal: Wrap NS classes and protocols in NSRef. 2020-11-16 23:07:56 +00:00
NonCopyable.h Implement WaitableEvent and WorkerTaskPool for multi-threaded tasks 2021-01-20 08:56:07 +00:00
PlacementAllocated.h Add SlabAllocator and tests 2020-03-04 17:48:24 +00:00
Platform.h Make common/ compile with Emscripten 2020-07-17 14:52:47 +00:00
RefBase.h RefBase: remove implicit conversion to bool. 2020-11-18 09:10:22 +00:00
RefCounted.cpp Don't leak buffers if MapAtCreation fails. 2020-07-08 19:45:40 +00:00
RefCounted.h Metal: Wrap NS classes and protocols in NSRef. 2020-11-16 23:07:56 +00:00
Result.cpp Add an implementation of Result<const T*, E*> 2019-07-17 19:01:50 +00:00
Result.h Use Ref<TextureBase> instead of TextureBase* in more places 2020-04-23 19:47:12 +00:00
SerialMap.h SerialQueue/Map: Take the serial type as type paramater. 2020-09-28 12:28:13 +00:00
SerialQueue.h SerialQueue/Map: Take the serial type as type paramater. 2020-09-28 12:28:13 +00:00
SerialStorage.h Fix MSVC build of SerialStorage.h. 2020-10-08 22:14:39 +00:00
SlabAllocator.cpp Slab-allocate Metal bind groups 2020-03-13 22:50:00 +00:00
SlabAllocator.h Slab-allocate Metal bind groups 2020-03-13 22:50:00 +00:00
StackContainer.h Remove usage of the UNIT_TEST macro. 2020-07-09 07:00:32 +00:00
SwapChainUtils.h Make dawn_native public headers and dawn_wsi use webgpu.h 2019-10-24 23:55:37 +00:00
SystemUtils.cpp Make common/ compile with Emscripten 2020-07-17 14:52:47 +00:00
SystemUtils.h Add ScopedEnvironmentVar class for setting env variables in BackendVk 2020-05-28 16:05:04 +00:00
TypeTraits.h Add TypeTraits.h for Dawn's additional type traits. 2021-01-04 15:05:29 +00:00
TypedInteger.h Typeify VertexBufferSlot and VertexAttributeLocation 2020-09-17 19:07:00 +00:00
UnderlyingType.h Add TypedInteger 2020-06-17 22:35:19 +00:00
ityp_array.h ityp_array: Allow using a T whose underlying type is signed. 2021-01-20 20:01:08 +00:00
ityp_bitset.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
ityp_span.h Add TypedInteger 2020-06-17 22:35:19 +00:00
ityp_stack_vec.h Add ityp::vector class and unittests 2020-07-14 01:32:43 +00:00
ityp_vector.h Add ityp::vector class and unittests 2020-07-14 01:32:43 +00:00
vulkan_platform.h Fix MSVC compilation. 2020-07-08 18:50:30 +00:00
windows_with_undefs.h d3d12_platform: ensure windows.h macros don't cause compile errors 2020-06-01 13:58:22 +00:00
xlib_with_undefs.h Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00