Commit graph

  • e8c50ad878 gpu: implement RenderBundleEncoder.drawIndexedIndirect Stephen Gutekanst 2022-03-16 20:59:37 -07:00
  • dd3543f802 gpu: implement RenderBundleEncoder.drawIndexed Stephen Gutekanst 2022-03-16 20:57:13 -07:00
  • 36243b2871 gpu: implement RenderBundleEncoder.draw Stephen Gutekanst 2022-03-16 20:54:33 -07:00
  • d2d6b17bc9 gpu: begin translating RenderBundleEncoder methods Stephen Gutekanst 2022-03-16 11:57:58 -07:00
  • 2981e5e352 gpu: begin translating ComputePassEncoder methods Stephen Gutekanst 2022-03-16 11:50:34 -07:00
  • 05b3920775 gpu: begin translating CommandEncoder methods Stephen Gutekanst 2022-03-16 11:46:02 -07:00
  • 2af05b4446 gpu: begin translating Device methods Stephen Gutekanst 2022-03-16 11:13:31 -07:00
  • 054b9e95a5 gpu: implement RenderPassEncoder.writeTimestamp Stephen Gutekanst 2022-03-16 10:51:15 -07:00
  • d707d7e2e2 gpu: implement RenderPassEncoder.setViewport Stephen Gutekanst 2022-03-16 10:50:53 -07:00
  • 1db208d2df gpu: implement RenderPassEncoder.setVertexBuffer Stephen Gutekanst 2022-03-16 10:50:24 -07:00
  • ec59227eb8 gpu: implement RenderPassEncoder.setStencilReference Stephen Gutekanst 2022-03-16 10:49:50 -07:00
  • 67f77d5a8c gpu: implement RenderPassEncoder.setScissorRect Stephen Gutekanst 2022-03-16 10:41:07 -07:00
  • 2c319d628a gpu: implement RenderPassEncoder.setIndexBuffer Stephen Gutekanst 2022-03-16 10:38:57 -07:00
  • f8c40b0aa9 gpu: implement RenderPassEncoder.setBlendConstant Stephen Gutekanst 2022-03-16 10:34:53 -07:00
  • 5ca189005d gpu: implement RenderPassEncoder.setBindGroup Stephen Gutekanst 2022-03-16 00:15:29 -07:00
  • b24512b6cf gpu: implement RenderPassEncoder.pushDebugGroup Stephen Gutekanst 2022-03-15 23:47:18 -07:00
  • 9c5cd8b006 gpu: implement RenderPassEncoder.insertDebugMarker Stephen Gutekanst 2022-03-15 23:36:01 -07:00
  • 8615f346dd gpu: implement RenderPassEncoder.executeBundles Stephen Gutekanst 2022-03-15 23:07:48 -07:00
  • 45d27fdbb2 gpu: remove invalid TODOs Stephen Gutekanst 2022-03-15 22:14:28 -07:00
  • af4a6be85c gpu: implement RenderPassEncoder.endOcclusionQuery Stephen Gutekanst 2022-03-15 22:08:46 -07:00
  • 2d04fb91bc gpu: use unnamed tests for inclusion Stephen Gutekanst 2022-03-15 21:52:40 -07:00
  • 9e7d37a9ea gpu: cleanup RenderPassEncoder Stephen Gutekanst 2022-03-15 21:51:30 -07:00
  • d767b7d6f4 gpu: implement RenderPassEncoder.drawIndirect Stephen Gutekanst 2022-03-15 21:48:45 -07:00
  • 34907b1f22 gpu: implement RenderPassEncoder.drawIndexedIndirect Stephen Gutekanst 2022-03-15 21:46:30 -07:00
  • 660a0334dd gpu: implement RenderPassEncoder.drawIndexed Stephen Gutekanst 2022-03-15 21:40:32 -07:00
  • 3b4c07ce63 gpu: implement RenderPassEncoder.beginOcclusionQuery Stephen Gutekanst 2022-03-15 21:33:46 -07:00
  • cad271345a gpu: implement ComputePipeline.getBindGroupLayout Stephen Gutekanst 2022-03-15 21:27:23 -07:00
  • 7e54d9b4ae gpu: implement RenderPipeline.getBindGroupLayout Stephen Gutekanst 2022-03-15 21:21:33 -07:00
  • 856c98c4c1 gpu: implement Texture.createView Stephen Gutekanst 2022-03-15 21:14:57 -07:00
  • 9fae887555 gpu: implement Device.createRenderPipelineAsync Stephen Gutekanst 2022-03-15 20:39:38 -07:00
  • c90fb09de1 gpu: implement Device.createComputePipeline Stephen Gutekanst 2022-03-15 20:17:07 -07:00
  • 38535c7b5f gpu: implement Device.createComputePipelineAsync Stephen Gutekanst 2022-03-15 20:04:34 -07:00
  • 3ce0e1258a gpu: implement ShaderModule.getCompilationInfo Stephen Gutekanst 2022-03-15 19:17:48 -07:00
  • 77b2210587 gpu: implement Buffer.mapAsync Stephen Gutekanst 2022-03-15 11:53:31 -07:00
  • 3ffc1ca5d8 gpu: Queue: OnSubmittedWorkDone -> WorkDoneCallback, consistent w/other callbacks Stephen Gutekanst 2022-03-15 11:19:32 -07:00
  • 356e4102cd gpu: make requestAdapter callback-based, add waitForAdapter helper Stephen Gutekanst 2022-03-15 11:02:51 -07:00
  • aab99b5474 gpu: make requestDevice callback-based, add waitForDevice helper Stephen Gutekanst 2022-03-15 10:42:14 -07:00
  • 890dd57296 gpu: add run-example build command Stephen Gutekanst 2022-03-13 11:30:06 -07:00
  • 34ac711d2f gpu: implement Buffer.unmap Stephen Gutekanst 2022-03-13 11:23:42 -07:00
  • 1c5c23f101 gpu: fix Queue.submit commands parameter Stephen Gutekanst 2022-03-11 22:40:18 -07:00
  • e26a2858ed gpu: example: use CommandEncoder.finish Stephen Gutekanst 2022-03-11 22:31:05 -07:00
  • 143567e1c0 gpu: implement CommandEncoder.finish Stephen Gutekanst 2022-03-11 22:30:55 -07:00
  • 071100a61e gpu: example: use RenderPassEncoder.end Stephen Gutekanst 2022-03-11 22:22:20 -07:00
  • 198b642078 gpu: implement RenderPassEncoder.end Stephen Gutekanst 2022-03-11 22:22:10 -07:00
  • 3e17d04195 gpu: example: use RenderPassEncoder.draw Stephen Gutekanst 2022-03-11 22:20:11 -07:00
  • a5f6483c62 gpu: implement RenderPassEncoder.draw Stephen Gutekanst 2022-03-11 22:19:58 -07:00
  • e6fe33d66d gpu: example: use RenderPassEncoder.setPipeline Stephen Gutekanst 2022-03-11 22:14:58 -07:00
  • 70211c9d38 gpu: implement RenderPassEncoder.setPipeline Stephen Gutekanst 2022-03-11 22:14:49 -07:00
  • 6385981d55 gpu: example: use CommandEncoder.beginRenderPass Stephen Gutekanst 2022-03-11 22:04:10 -07:00
  • f5a5c7eaa7 gpu: implement RenderPassColorAttachment Stephen Gutekanst 2022-03-11 22:03:22 -07:00
  • 510c7de9f2 gpu: implement CommandEncoder.beginRenderPass Stephen Gutekanst 2022-03-11 21:00:01 -07:00
  • 12462d42aa gpu: example: use Device.createCommandEncoder Stephen Gutekanst 2022-03-11 20:35:03 -07:00
  • e0c850fd9c gpu: allow null descriptor param for Device.createCommandEncoder Stephen Gutekanst 2022-03-11 20:34:51 -07:00
  • 9c7aa55273 gpu: implement Device.createCommandEncoder Stephen Gutekanst 2022-03-11 20:29:32 -07:00
  • 117ad5dc3b gpu: example: use SwapChain .getCurrentTextureView, .present, .release Stephen Gutekanst 2022-03-11 20:20:07 -07:00
  • 1315c6eb53 gpu: example: use SwapChain.configure Stephen Gutekanst 2022-03-11 20:17:05 -07:00
  • ef3eed7afb gpu: implement SwapChain.present, SwapChain.getCurrentTextureView Stephen Gutekanst 2022-03-11 20:14:58 -07:00
  • cc40004a5f gpu: example: use Device.createRenderPipeline Stephen Gutekanst 2022-03-11 19:58:36 -07:00
  • 4e31e015a4 gpu: correctly handle null RenderPipeline.Descriptor transitive values Stephen Gutekanst 2022-03-11 19:58:18 -07:00
  • f5e6976937 gpu: make ConstantEntry & ColorTargetState C ABI compatible Stephen Gutekanst 2022-03-11 19:36:21 -07:00
  • 36afd39945 gpu: correct RenderPipelineDescriptor stack conversions Stephen Gutekanst 2022-03-11 19:29:39 -07:00
  • 1fafce595a gpu: partial Device.createRenderPipeline implementation Stephen Gutekanst 2022-03-11 19:26:23 -07:00
  • 956681afbd gpu: example: use gpu.BlendState Stephen Gutekanst 2022-03-11 18:53:36 -07:00
  • 400833c8c6 gpu: successfully remove c.WGPUInstance from example Stephen Gutekanst 2022-03-11 18:49:51 -07:00
  • d8c48bdad1 gpu: cleanup example TODOs Stephen Gutekanst 2022-03-11 18:48:35 -07:00
  • 6c7ea283fe gpu: utilize gpu.Adapter.BackendType in example Stephen Gutekanst 2022-03-11 18:35:50 -07:00
  • 40f92dd9d9 gpu: use PowerPreference Stephen Gutekanst 2022-03-11 18:26:53 -07:00
  • 9c2fc82fa3 gpu: note that copyTextureForBrowser may be Dawn-specific Stephen Gutekanst 2022-03-11 17:47:10 -07:00
  • e9c6dcde21 gpu: remove docs TODOs (everything needs docs) Stephen Gutekanst 2022-03-11 17:45:51 -07:00
  • 8cb1c9ba4f gpu: cleanup TODO Stephen Gutekanst 2022-03-11 17:44:17 -07:00
  • c045ce7caa gpu: add constants Stephen Gutekanst 2022-03-11 17:40:07 -07:00
  • 85041d6f93 gpu: add ImageCopyBuffer; ImageCopyTexture Stephen Gutekanst 2022-03-11 17:31:57 -07:00
  • d1bad15add gpu: add ColorTargetState Stephen Gutekanst 2022-03-11 17:23:47 -07:00
  • 4aeea00409 gpu: add FragmentState Stephen Gutekanst 2022-03-11 17:20:08 -07:00
  • ec300679a0 gpu: add VertexState Stephen Gutekanst 2022-03-11 17:19:40 -07:00
  • 77810482bd gpu: add RenderPipeline.Descriptor Stephen Gutekanst 2022-03-11 17:17:48 -07:00
  • 48a3103bb9 gpu: add RenderPassColorAttachment Stephen Gutekanst 2022-03-11 17:12:05 -07:00
  • b505c5aecf gpu: add RenderPassDepthStencilAttachment Stephen Gutekanst 2022-03-11 17:10:30 -07:00
  • 58fe1b12f7 gpu: add RenderPassTimestampWrite Stephen Gutekanst 2022-03-11 17:06:41 -07:00
  • 7eb06f25f6 gpu: add RenderPassEncoder.Descriptor Stephen Gutekanst 2022-03-11 17:04:34 -07:00
  • 4e6c6bbee8 gpu: add ComputePipeline.Descriptor Stephen Gutekanst 2022-03-11 16:59:52 -07:00
  • 7fa2bb3754 gpu: add BindGroupLayout.Descriptor Stephen Gutekanst 2022-03-11 16:57:38 -07:00
  • 13fcf98436 gpu: add Texture.Descriptor Stephen Gutekanst 2022-03-11 16:56:04 -07:00
  • 628f3d59c2 gpu: add ComputePassTimestampWrite Stephen Gutekanst 2022-03-11 16:53:18 -07:00
  • 79e80467ca gpu: add ConstantEntry Stephen Gutekanst 2022-03-11 16:51:07 -07:00
  • 5a8585faa1 gpu: add ProgrammableStageDescriptor Stephen Gutekanst 2022-03-11 16:48:24 -07:00
  • 52c22e0ff2 gpu: add ComputePassEncoder.Descriptor Stephen Gutekanst 2022-03-11 16:45:58 -07:00
  • 9398df0211 gpu: add BindGroup.Descriptor Stephen Gutekanst 2022-03-11 16:42:25 -07:00
  • bbd058f23e gpu: move Texture.ViewDimension -> TextureView.Dimension Stephen Gutekanst 2022-03-11 16:40:43 -07:00
  • 1c0f5c0b03 gpu: add TextureView.Descriptor Stephen Gutekanst 2022-03-11 16:35:11 -07:00
  • ad907bf637 gpu: add Sampler.Descriptor Stephen Gutekanst 2022-03-11 16:32:14 -07:00
  • 7509404a91 gpu: add RenderBundleEncoder.Descriptor Stephen Gutekanst 2022-03-11 16:30:03 -07:00
  • 4ae4ef4e14 gpu: add QuerySet.Descriptor Stephen Gutekanst 2022-03-11 16:27:16 -07:00
  • d19c868fb6 gpu: add PipelineLayout.Descriptor Stephen Gutekanst 2022-03-11 16:25:39 -07:00
  • 3ec84f516a gpu: add DepthStencilState Stephen Gutekanst 2022-03-11 16:21:09 -07:00
  • bf3cf08e1e gpu: add CompilationInfo Stephen Gutekanst 2022-03-11 16:17:42 -07:00
  • 3393813ebc gpu: add BindingGroupLayout.Entry Stephen Gutekanst 2022-03-11 16:15:09 -07:00
  • c0ddbbb514 gpu: add Texture.DataLayout Stephen Gutekanst 2022-03-11 16:11:20 -07:00
  • 9b5fb77d7f gpu: add Texture.BindingLayout Stephen Gutekanst 2022-03-11 16:10:41 -07:00
  • da4edf6e1d gpu: add StorageTextureBindingLayout Stephen Gutekanst 2022-03-11 16:09:43 -07:00