Stephen Gutekanst
|
cc40004a5f
|
gpu: example: use Device.createRenderPipeline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
4e31e015a4
|
gpu: correctly handle null RenderPipeline.Descriptor transitive values
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
f5e6976937
|
gpu: make ConstantEntry & ColorTargetState C ABI compatible
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
36afd39945
|
gpu: correct RenderPipelineDescriptor stack conversions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
1fafce595a
|
gpu: partial Device.createRenderPipeline implementation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
956681afbd
|
gpu: example: use gpu.BlendState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
400833c8c6
|
gpu: successfully remove c.WGPUInstance from example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
d8c48bdad1
|
gpu: cleanup example TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
6c7ea283fe
|
gpu: utilize gpu.Adapter.BackendType in example
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
40f92dd9d9
|
gpu: use PowerPreference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
9c2fc82fa3
|
gpu: note that copyTextureForBrowser may be Dawn-specific
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
e9c6dcde21
|
gpu: remove docs TODOs (everything needs docs)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
8cb1c9ba4f
|
gpu: cleanup TODO
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
c045ce7caa
|
gpu: add constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
85041d6f93
|
gpu: add ImageCopyBuffer; ImageCopyTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
d1bad15add
|
gpu: add ColorTargetState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
4aeea00409
|
gpu: add FragmentState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
ec300679a0
|
gpu: add VertexState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
77810482bd
|
gpu: add RenderPipeline.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
48a3103bb9
|
gpu: add RenderPassColorAttachment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
b505c5aecf
|
gpu: add RenderPassDepthStencilAttachment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
58fe1b12f7
|
gpu: add RenderPassTimestampWrite
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
7eb06f25f6
|
gpu: add RenderPassEncoder.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
4e6c6bbee8
|
gpu: add ComputePipeline.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
7fa2bb3754
|
gpu: add BindGroupLayout.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
13fcf98436
|
gpu: add Texture.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
628f3d59c2
|
gpu: add ComputePassTimestampWrite
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
79e80467ca
|
gpu: add ConstantEntry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
5a8585faa1
|
gpu: add ProgrammableStageDescriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
52c22e0ff2
|
gpu: add ComputePassEncoder.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
9398df0211
|
gpu: add BindGroup.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
bbd058f23e
|
gpu: move Texture.ViewDimension -> TextureView.Dimension
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
1c0f5c0b03
|
gpu: add TextureView.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
ad907bf637
|
gpu: add Sampler.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
7509404a91
|
gpu: add RenderBundleEncoder.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
4ae4ef4e14
|
gpu: add QuerySet.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
d19c868fb6
|
gpu: add PipelineLayout.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
3ec84f516a
|
gpu: add DepthStencilState
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
bf3cf08e1e
|
gpu: add CompilationInfo
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
3393813ebc
|
gpu: add BindingGroupLayout.Entry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
c0ddbbb514
|
gpu: add Texture.DataLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
9b5fb77d7f
|
gpu: add Texture.BindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
da4edf6e1d
|
gpu: add StorageTextureBindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
50e1151a72
|
gpu: fix syntax test inclusion
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
318715b792
|
gpu: move TextureViewDimension -> Texture.ViewDimension
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
7271df966e
|
gpu: move TextureSampleType -> Texture.SampleType
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
a34646e78d
|
gpu: move TextureDimension -> Texture.Dimension
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
23aad28093
|
gpu: move TextureComponentType -> Texture.ComponentType
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
b02dbb2f03
|
gpu: move TextureAspect -> Texture.Aspect
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
4750abfbde
|
gpu: move BindGroupEntry -> BindGroup.Entry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|