这是indexloc提供的服务,不要输入任何密码
Skip to content

Adapters should not be allowed to expose contradictory workgroup size limits #3888

@kainino0x

Description

@kainino0x

For example we require maxStorageBufferBindingSize to be no larger than maxBufferSize (just in the supported limits of an adapter, not in requestDevice).

Similarly we should require:

  • maxComputeInvocationsPerWorkgroupmaxComputeWorkgroupSizeX
  • maxComputeInvocationsPerWorkgroupmaxComputeWorkgroupSizeY
  • maxComputeInvocationsPerWorkgroupmaxComputeWorkgroupSizeZ
  • maxComputeInvocationsPerWorkgroupmaxComputeWorkgroupSizeX * maxComputeWorkgroupSizeY * maxComputeWorkgroupSizeZ

(I thought we had something filed about this but I can't find it.)

Finally, I'm thinking since we have so many of these restrictions, we should split them out into their own list in the spec.

Metadata

Metadata

Assignees

Labels

copyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions