Skip to content

implement additional webgpu objects#935

Merged
edevil merged 1 commit intomainfrom
webgpu3
Jul 28, 2023
Merged

implement additional webgpu objects#935
edevil merged 1 commit intomainfrom
webgpu3

Conversation

@edevil
Copy link
Contributor

@edevil edevil commented Jul 28, 2023

New objects: command encoder, compute pass encoder, query set.

New objects: command encoder, compute pass encoder, query set.
void
setBindGroup(GPUIndex32 index, kj::Maybe<jsg::Ref<GPUBindGroup>> bindGroup,
jsg::Optional<kj::Array<GPUBufferDynamicOffset>> dynamicOffsets);
// TODO(soon): overloads don't seem to be supported
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. To support this case you'll need to make use of kj::OneOf arguments. It'll be a bit... complicated.. unfortunately.

@edevil edevil merged commit dc11bdb into main Jul 28, 2023
@edevil edevil deleted the webgpu3 branch July 28, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants