dawn-cmake/src/utils
Tomek Ponitka 7f265d1d40 Fixing offset alignments when using DynamicUploader
When using a dynamic uploader we didn't align the offset
that the allocated memory might have already had.
That fixes WriteTexture, WriteBuffer, ClearTexture and
on D3D12 ClearBuffer.

Bug: dawn:512
Change-Id: I64c7511ad6b0d3d6a28a494e1324a10ad4d38091
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/27020
Commit-Queue: Tomek Ponitka <tommek@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
2020-08-20 11:25:49 +00:00
..
BUILD.gn Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
BackendBinding.cpp Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
BackendBinding.h Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
CMakeLists.txt Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
ComboRenderBundleEncoderDescriptor.cpp Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
ComboRenderBundleEncoderDescriptor.h Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
ComboRenderPipelineDescriptor.cpp Use GetBindGroupLayout in ColorStateTests 2019-12-03 20:39:53 +00:00
ComboRenderPipelineDescriptor.h Update naming for vertex state 2019-11-07 22:23:29 +00:00
D3D12Binding.cpp Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
EmptyDebugLogger.cpp end2end_tests: Forward Windows debug messages to stderr 2020-08-14 21:02:12 +00:00
GLFWUtils.cpp Fix more compilation warnings. 2020-04-11 03:22:33 +00:00
GLFWUtils.h Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
GLFWUtils_metal.mm Fix more compilation warnings. 2020-04-11 03:22:33 +00:00
Glfw3Fuchsia.cpp Enable Vulkan for Chromium Fuchsia build. 2019-09-09 10:52:08 +00:00
MetalBinding.mm Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
NullBinding.cpp Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
OSXTimer.cpp Add Dawn perf test harness 2019-08-28 23:18:10 +00:00
ObjCUtils.h Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
ObjCUtils.mm Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
OpenGLBinding.cpp Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
PlatformDebugLogger.h end2end_tests: Forward Windows debug messages to stderr 2020-08-14 21:02:12 +00:00
PosixTimer.cpp Add Dawn perf test harness 2019-08-28 23:18:10 +00:00
SystemUtils.cpp Rename src/common macros NXT_* to DAWN_* 2018-07-18 22:54:06 +02:00
SystemUtils.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
TerribleCommandBuffer.cpp Add large buffer to handle super large data block commands 2019-11-15 09:32:56 +00:00
TerribleCommandBuffer.h Add large buffer to handle super large data block commands 2019-11-15 09:32:56 +00:00
TestUtils.cpp Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
TestUtils.h Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
TextureFormatUtils.cpp Add wgpu::TextureFormat::RGB9E5Ufloat 2020-08-19 21:51:20 +00:00
TextureFormatUtils.h Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
Timer.h Add Dawn perf test harness 2019-08-28 23:18:10 +00:00
VulkanBinding.cpp Make examples and utils use webgpu.h 2019-10-25 11:36:47 +00:00
WGPUHelpers.cpp Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
WGPUHelpers.h Fixing offset alignments when using DynamicUploader 2020-08-20 11:25:49 +00:00
WindowsDebugLogger.cpp Fix ASSERT in WindowsDebugLogger 2020-08-14 22:44:02 +00:00
WindowsTimer.cpp Add Dawn perf test harness 2019-08-28 23:18:10 +00:00