dawn-cmake/src
Jiawei Shao b47470daa7 Return an error ComputePassEncoder when error occurs in BeginComputePass
This patch is a follow-up of the descriptorization of render pass
descriptor. In this patch we changes the return value of
BeginComputePass from nullptr to an error compute pass encoder when
there is any error in BeginComputePass() to keep it consistent with what
we do in BeginRenderPass().

This patch also provides functions to create error render/compute pass
encoders. With this patch we can create a pass encoder in error by
specifying ErrorTag in the constructor, which is more staightforward
and human readable than the current implementation.

BUG=dawn:6

Change-Id: I1899ae65804f8cecd3079dc313e7e18acb88e37c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5140
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
2019-03-05 01:02:47 +00:00
..
common Add more validations for input state 2019-02-22 15:08:03 +00:00
dawn_native Return an error ComputePassEncoder when error occurs in BeginComputePass 2019-03-05 01:02:47 +00:00
dawn_wire KnownObject: Make it an error to request ID 0 2019-02-25 09:49:00 +00:00
fuzzers dawn: Remove semicolons. 2019-02-21 14:39:01 +00:00
include Implement wrapping IOSurfaces in dawn::Texture. 2019-03-01 12:01:18 +00:00
tests Return an error ComputePassEncoder when error occurs in BeginComputePass 2019-03-05 01:02:47 +00:00
utils Remove RenderPassDescriptorBuilder 2019-02-27 09:21:56 +00:00