Minor fixes

This commit is contained in:
Andras Schmelczer 2023-05-27 19:51:11 +01:00
commit ebabaf6ee5
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
6 changed files with 21 additions and 21 deletions

View file

@ -1,5 +1,4 @@
import { getWorkgroupCounts } from '../../utils/graphics/get-workgroup-counts';
import random from '../../utils/graphics/random.wgsl';
import { smartCompile } from '../../utils/graphics/smart-compile';
import { CommonState } from '../common-state/common-state';
import agentSchme from './agent-generation/agent-schema.wgsl';
@ -33,7 +32,7 @@ export class AgentPipeline {
bindGroupLayouts: [commonState.bindGroupLayout, this.bindGroupLayout],
}),
compute: {
module: smartCompile(device, CommonState.shaderCode, random, agentSchme, shader),
module: smartCompile(device, CommonState.shaderCode, agentSchme, shader),
entryPoint: 'main',
},
});