@luma.gl/webgpu
Advanced tools
Comparing version 9.0.0-alpha.48 to 9.0.0-alpha.50
@@ -60,3 +60,3 @@ const VS_GEN_MIPMAP = `\#version 450 | ||
}, { | ||
texture: srcTexture | ||
texture | ||
}, textureSize); | ||
@@ -63,0 +63,0 @@ const commandEncoder = this.device.createCommandEncoder({}); |
@@ -1,2 +0,2 @@ | ||
import { getAttributeInfosFromLayouts, decodeVertexFormat } from '@luma.gl/core'; | ||
import { decodeVertexFormat } from '@luma.gl/core'; | ||
function getWebGPUVertexFormat(format) { | ||
@@ -9,3 +9,2 @@ if (format.endsWith('-webgl')) { | ||
export function getVertexBufferLayout(shaderLayout, bufferLayout) { | ||
const attributeInfos = getAttributeInfosFromLayouts(shaderLayout, bufferLayout); | ||
const vertexBufferLayouts = []; | ||
@@ -12,0 +11,0 @@ const usedAttributes = new Set(); |
{ | ||
"name": "@luma.gl/webgpu", | ||
"version": "9.0.0-alpha.48", | ||
"version": "9.0.0-alpha.50", | ||
"description": "WebGPU adapter for the luma.gl API", | ||
@@ -40,7 +40,7 @@ "type": "module", | ||
"@babel/runtime": "^7.0.0", | ||
"@luma.gl/core": "9.0.0-alpha.48", | ||
"@luma.gl/core": "9.0.0-alpha.50", | ||
"@probe.gl/env": "^4.0.2", | ||
"@webgpu/types": "^0.1.34" | ||
}, | ||
"gitHead": "e57479712693a82ec918382020dd2593035e29b0" | ||
"gitHead": "83899806fcfab67f97cc8b308f81e4844a05ca05" | ||
} |
@@ -70,3 +70,3 @@ // luma.gl, MIT license | ||
}); | ||
this.device.queue.copyImageBitmapToTexture({ imageBitmap }, { texture: srcTexture }, textureSize); | ||
this.device.queue.copyImageBitmapToTexture({ imageBitmap }, { texture }, textureSize); | ||
@@ -73,0 +73,0 @@ const commandEncoder = this.device.createCommandEncoder({}); |
// luma.gl, MIT license | ||
import type {ShaderLayout, BufferLayout, AttributeDeclaration, VertexFormat} from '@luma.gl/core'; | ||
import {getAttributeInfosFromLayouts, decodeVertexFormat} from '@luma.gl/core'; | ||
import {decodeVertexFormat} from '@luma.gl/core'; | ||
@@ -24,5 +24,2 @@ /** Throw error on any WebGL-only vertex formats */ | ||
): GPUVertexBufferLayout[] { | ||
// @ts-expect-error Deduplicate and make use of the new core attribute logic here in webgpu module | ||
const attributeInfos = getAttributeInfosFromLayouts(shaderLayout, bufferLayout); | ||
const vertexBufferLayouts: GPUVertexBufferLayout[] = []; | ||
@@ -29,0 +26,0 @@ const usedAttributes = new Set<string>(); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
621266
9037
+ Added@luma.gl/core@9.0.0-alpha.50(transitive)
- Removed@luma.gl/core@9.0.0-alpha.48(transitive)
Updated@luma.gl/core@9.0.0-alpha.50