Maximise agent buffer size
This commit is contained in:
parent
f1808d5707
commit
5dc943bb91
2 changed files with 12 additions and 8 deletions
|
|
@ -21,6 +21,7 @@ export const initializeGpu = async (): Promise<GPUDevice> => {
|
|||
const gpuDevice = await adapter.requestDevice({
|
||||
requiredLimits: {
|
||||
maxBufferSize: adapter.limits.maxBufferSize,
|
||||
maxStorageBufferBindingSize: adapter.limits.maxStorageBufferBindingSize,
|
||||
maxComputeInvocationsPerWorkgroup: adapter.limits.maxComputeInvocationsPerWorkgroup,
|
||||
maxComputeWorkgroupSizeX: adapter.limits.maxComputeWorkgroupSizeX,
|
||||
maxComputeWorkgroupSizeY: adapter.limits.maxComputeWorkgroupSizeY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue