Stephen Gutekanst
|
0ae04f1d87
|
gpu: translate opaque pointer types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
Stephen Gutekanst
|
2174936469
|
gpu: prepare for full-scale rewrite of library
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-08-12 00:43:43 -07:00 |
|
PiergiorgioZagaria
|
4e3a58897b
|
gpu: mirror more WebGPU spec default values (#249)
Helps hexops/mach#182
|
2022-04-21 18:38:26 -07:00 |
|
Michal Ziulek
|
bd28946397
|
gpu: Changes needed for latest Dawn (generated-2022-04-18).
|
2022-04-18 20:45:33 -07:00 |
|
Michal Ziulek
|
fe8e0e7c98
|
gpu: Add default values for some structs (taken from the spec). (#218)
Helps hexops/mach#182
|
2022-04-12 12:09:48 -07:00 |
|
Michal Ziulek
|
9ed6f6ca8b
|
Added helper functions to BindGroupLayout.Entry (#213)
* gpu: Added helper functions to BindGroupLayout.Entry
* gpu: Changed default values for *.BindingLayout structures. Added comments for helpers.
|
2022-04-10 14:28:44 -07:00 |
|
Silver
|
614322edc7
|
gpu: convert Texture.Usage to packed struct
|
2022-04-08 11:03:00 -07:00 |
|
Stephen Gutekanst
|
991c88d851
|
gpu: implement Queue.writeTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
85d5de1077
|
gpu: implement Device.createTexture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
d635bee216
|
gpu: implement Device.createBindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
2d04fb91bc
|
gpu: use unnamed tests for inclusion
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
856c98c4c1
|
gpu: implement Texture.createView
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
|
13fcf98436
|
gpu: add Texture.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
|
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
|
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
|
2e68792f0d
|
gpu: move TextureFormat -> Texture.Format
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
281d6a2016
|
gpu: move TextureUsage -> Texture.Usage
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
e9ac2a0f4f
|
gpu: add Texture.destroy
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
e674250ec5
|
gpu: add Texture.setLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
b29fa9e13d
|
gpu: implement Sampler
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|
Stephen Gutekanst
|
1563fc7246
|
gpu: implement Texture
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2022-03-19 00:51:48 -07:00 |
|