Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@luma.gl/webgpu

Package Overview
Dependencies
Maintainers
7
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luma.gl/webgpu - npm Package Compare versions

Comparing version 9.0.0-alpha.48 to 9.0.0-alpha.50

2

dist/adapter/helpers/generate-mipmaps.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc