dawn-cmake/examples
Corentin Wallez 82fbccbd78 Introduce [Render|Compute]PassEncoder.
This splits off part of CommandBufferBuilder in separate
RenderPassEncoder and ComputePassEncoder objects. To match the WebGPU
IDL and factor some code, both these encoders inherit from
ProgrammablePassEncoder.

These encoders are pure frontend objects and record into the
CommandBufferBuilder command allocator objects, so no changes to the
backends were needed.

Error handling is still ew, because the "builder" mechanism we had
doesn't allow for "split builders". Nicer error handling will have to
wait on Dawn matching WebGPU.

All the tests and samples were updated to the new structure.

BUG=dawn:5

Change-Id: I5f5d4ad866e2c07fedd1ba7a122258c6610941f1
Reviewed-on: https://dawn-review.googlesource.com/1543
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2018-09-21 00:24:37 +00:00
..
glTFViewer Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
Animometer.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
CHelloTriangle.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
CMakeLists.txt Make libdawn_native a shared library. 2018-07-27 12:56:26 +02:00
ComputeBoids.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
CppHelloTriangle.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
CubeReflection.cpp Introduce [Render|Compute]PassEncoder. 2018-09-21 00:24:37 +00:00
SampleUtils.cpp dawn.json: Make textureDescriptor use Extent3D 2018-09-18 12:49:22 +00:00
SampleUtils.h Rename files in src/include nxt -> dawn 2018-07-18 22:54:06 +02:00