diff --git a/filament/backend/src/webgpu/WebGPUDriver.cpp b/filament/backend/src/webgpu/WebGPUDriver.cpp index 8a088878d0..d4d9797fe4 100644 --- a/filament/backend/src/webgpu/WebGPUDriver.cpp +++ b/filament/backend/src/webgpu/WebGPUDriver.cpp @@ -705,7 +705,6 @@ void WebGPUDriver::compilePrograms(CompilerPriorityQueue priority, } void WebGPUDriver::beginRenderPass(Handle rth, RenderPassParams const& params) { - printf("%s\n", __FUNCTION__); assert_invariant(mCommandEncoder); auto* renderTarget = handleCast(rth); @@ -785,7 +784,6 @@ void WebGPUDriver::beginRenderPass(Handle rth, RenderPassParams } void WebGPUDriver::endRenderPass(int /* dummy */) { - printf("%s\n", __FUNCTION__); mRenderPassEncoder.End(); mRenderPassEncoder = nullptr; } @@ -873,7 +871,6 @@ void WebGPUDriver::blit( void WebGPUDriver::bindPipeline(PipelineState const& pipelineState) { // TODO Investigate implications of this hash more closely. Vulkan has a whole class // VulkanPipelineCache to handle this, may be missing nuance - printf("%s\n", __FUNCTION__); static auto pipleineStateHasher = utils::hash::MurmurHashFn(); auto hash = pipleineStateHasher(pipelineState); if (mPipelineMap.find(hash) != mPipelineMap.end()) { @@ -967,7 +964,6 @@ void WebGPUDriver::bindPipeline(PipelineState const& pipelineState) { } void WebGPUDriver::bindRenderPrimitive(Handle rph) { - printf("%s\n", __FUNCTION__); auto* renderPrimitive = handleCast(rph); auto vbi = handleCast(renderPrimitive->vertexBuffer->vbih); for (const auto& webGPUSlotBindings: vbi->getWebGPUSlotBindingInfos()) { @@ -981,7 +977,6 @@ void WebGPUDriver::bindRenderPrimitive(Handle rph) { } void WebGPUDriver::draw2(uint32_t indexOffset, uint32_t indexCount, uint32_t instanceCount) { - printf("%s\n", __FUNCTION__); // We defer actually binding until we actually draw for (size_t i = 0; i < MAX_DESCRIPTOR_SET_COUNT; i++) { auto& binding = mCurrentDescriptorSets[i]; @@ -1062,7 +1057,6 @@ void WebGPUDriver::updateDescriptorSetTexture(Handle dsh, void WebGPUDriver::bindDescriptorSet(Handle dsh, backend::descriptor_set_t setIndex, backend::DescriptorSetOffsetArray&& offsets) { - printf("%s\n", __FUNCTION__); assert_invariant(setIndex < MAX_DESCRIPTOR_SET_COUNT); const auto bindGroup = handleCast(dsh); const auto wbg = bindGroup->lockAndReturn(mDevice);