mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
Merge #902
902: Address nits in #897 r=cwfitzgerald a=scoopr Co-authored-by: Mikko Lehtonen <scoopr@iki.fi>
This commit is contained in:
commit
9b65d7433f
2 files changed
+3
-3
No files matched your search
@@ -722,7 +722,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
bundle_encoder
|
||||
.context
|
||||
.check_compatible(&pipeline.pass_context)
|
||||
.map_err(|e| RenderCommandError::IncompatiblePipeline(e))?;
|
||||
.map_err(RenderCommandError::IncompatiblePipeline)?;
|
||||
|
||||
//TODO: check read-only depth
|
||||
|
||||
|
||||
@@ -1018,7 +1018,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
|
||||
context
|
||||
.check_compatible(&pipeline.pass_context)
|
||||
.map_err(|e| RenderCommandError::IncompatiblePipeline(e))?;
|
||||
.map_err(RenderCommandError::IncompatiblePipeline)?;
|
||||
|
||||
if pipeline.flags.contains(PipelineFlags::WRITES_DEPTH_STENCIL)
|
||||
&& is_ds_read_only
|
||||
@@ -1515,7 +1515,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
|
||||
context
|
||||
.check_compatible(&bundle.context)
|
||||
.map_err(|e| RenderPassError::IncompatibleRenderBundle(e))?;
|
||||
.map_err(RenderPassError::IncompatibleRenderBundle)?;
|
||||
|
||||
unsafe {
|
||||
bundle.execute(
|
||||
|
||||
Reference in new issue
Block a user