Fix naming for wgpuTextureGetDepthOrArrayLayers in wgpu.js

Fix wgpuTextureDepthOrArrayLayers -> wgpuTextureGetDepthOrArrayLayers to match definition in wgpu.odin
This commit is contained in:
Gaia
2026-05-06 23:26:11 -05:00
committed by GitHub
parent d21fea404b
commit f8c7225047

2
vendor/wgpu/wgpu.js vendored
View File

@@ -3308,7 +3308,7 @@ class WebGPUInterface {
* @param {number} textureIdx
* @returns {number}
*/
wgpuTextureDepthOrArrayLayers: (textureIdx) => {
wgpuTextureGetDepthOrArrayLayers: (textureIdx) => {
const texture = this.textures.get(textureIdx);
return texture.depthOrArrayLayers;
},