@luma.gl/webgpu 9.0.0-alpha.46 → 9.0.0-alpha.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/webgpu",
3
- "version": "9.0.0-alpha.46",
3
+ "version": "9.0.0-alpha.48",
4
4
  "description": "WebGPU adapter for the luma.gl API",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -37,9 +37,9 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.0.0",
40
- "@luma.gl/core": "9.0.0-alpha.46",
40
+ "@luma.gl/core": "9.0.0-alpha.48",
41
41
  "@probe.gl/env": "^4.0.2",
42
42
  "@webgpu/types": "^0.1.34"
43
43
  },
44
- "gitHead": "c1e0602fd739f8d08e6532034a02e8cf658e188a"
44
+ "gitHead": "e57479712693a82ec918382020dd2593035e29b0"
45
45
  }
@@ -19,8 +19,8 @@ export class WebGPUTexture extends Texture {
19
19
  readonly view: GPUTextureView;
20
20
  sampler: WebGPUSampler;
21
21
 
22
- override height: number;
23
- override width: number;
22
+ override height: number = 1;
23
+ override width: number = 1;
24
24
 
25
25
  // static async createFromImageURL(src, usage = 0) {
26
26
  // const img = document.createElement('img');
@@ -109,11 +109,8 @@ export class WebGPUDevice extends Device {
109
109
  renderer: '',
110
110
  version: '',
111
111
  gpu: 'unknown', // 'nvidia' | 'amd' | 'intel' | 'apple' | 'unknown',
112
- shadingLanguages: ['wgsl'],
113
- shadingLanguageVersions: {
114
- glsl: '450',
115
- wgsl: '100'
116
- },
112
+ shadingLanguage: 'wgsl',
113
+ shadingLanguageVersion: 100,
117
114
  vendorMasked: '',
118
115
  rendererMasked: ''
119
116
  };