b47470daa7
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> |
||
---|---|---|
.. | ||
common | ||
dawn_native | ||
dawn_wire | ||
fuzzers | ||
include | ||
tests | ||
utils |