diff options
Diffstat (limited to 'src/vulkan/compute_pipeline.cc')
-rw-r--r-- | src/vulkan/compute_pipeline.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vulkan/compute_pipeline.cc b/src/vulkan/compute_pipeline.cc index 41dcdf9..da6c0de 100644 --- a/src/vulkan/compute_pipeline.cc +++ b/src/vulkan/compute_pipeline.cc @@ -86,9 +86,7 @@ Result ComputePipeline::Compute(uint32_t x, uint32_t y, uint32_t z) { // Note that a command updating a descriptor set and a command using // it must be submitted separately, because using a descriptor set // while updating it is not safe. - r = UpdateDescriptorSetsIfNeeded(); - if (!r.IsSuccess()) - return r; + UpdateDescriptorSetsIfNeeded(); { CommandBufferGuard guard(GetCommandBuffer()); |