From a5ac0162b60feef834715361b0d4aa1248fdc5cf Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 1 Jan 2024 17:28:19 -0800 Subject: [PATCH] fix test --- test/tests/data-definition-test.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/tests/data-definition-test.js b/test/tests/data-definition-test.js index 47d6626..f61ceca 100644 --- a/test/tests/data-definition-test.js +++ b/test/tests/data-definition-test.js @@ -1,8 +1,7 @@ -/* global GPUShaderStage */ import { describe, it } from '../mocha-support.js'; import { makeShaderDataDefinitions, - getBindGroupLayoutDescriptors, + makeBindGroupLayoutDescriptors, } from '../../dist/1.x/webgpu-utils.module.js'; import { assertDeepEqual, assertEqual, assertFalsy, assertTruthy } from '../assert.js'; @@ -241,7 +240,7 @@ describe('data-definition-tests', () => { } `; const d = makeShaderDataDefinitions(code); - const layouts = getBindGroupLayoutDescriptors(d, { + const layouts = makeBindGroupLayoutDescriptors(d, { vertex: { entryPoint: 'vs', }, @@ -377,7 +376,7 @@ describe('data-definition-tests', () => { } `; const d = makeShaderDataDefinitions(code); - const layouts = getBindGroupLayoutDescriptors(d, { + const layouts = makeBindGroupLayoutDescriptors(d, { vertex: { entryPoint: 'vs', }, @@ -425,7 +424,7 @@ describe('data-definition-tests', () => { } `; const d = makeShaderDataDefinitions(code); - const layouts = getBindGroupLayoutDescriptors(d, { + const layouts = makeBindGroupLayoutDescriptors(d, { vertex: { entryPoint: 'vs', },