Sitelet https://github.com/gpuweb/gpuweb/pull/259/files
Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions design/sketch.webidl
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,6 @@ dictionary GPUVertexInputDescriptor {
};

dictionary GPUInputStateDescriptor {
GPUIndexFormat indexFormat;

sequence<GPUVertexAttributeDescriptor> attributes;
sequence<GPUVertexInputDescriptor> inputs;
};
Expand Down Expand Up @@ -580,7 +578,7 @@ interface GPURenderPassEncoder : GPUProgrammablePassEncoder {
// Width and height must be greater than 0. Otherwise, an error will be generated.
void setScissorRect(u32 x, u32 y, u32 width, u32 height);

void setIndexBuffer(GPUBuffer buffer, u64 offset);
void setIndexBuffer(GPUIndexFormat indexFormat, GPUBuffer buffer, u64 offset);
void setVertexBuffers(u32 startSlot, sequence<GPUBuffer> buffers, sequence<u64> offsets);

void draw(u32 vertexCount, u32 instanceCount, u32 firstVertex, u32 firstInstance);
Expand Down