82fbccbd78
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> |
||
---|---|---|
.. | ||
glTFViewer | ||
Animometer.cpp | ||
CHelloTriangle.cpp | ||
CMakeLists.txt | ||
ComputeBoids.cpp | ||
CppHelloTriangle.cpp | ||
CubeReflection.cpp | ||
SampleUtils.cpp | ||
SampleUtils.h |