Commit 25c16305 authored by Kai Ninomiya's avatar Kai Ninomiya Committed by Commit Bot

Add defaults for arguments to draw/drawIndirect

Non-breaking.

Bug: 1069302
Change-Id: I4cc7bfe3f75f9f79f8c8592b517181fbec1dbfc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2143377Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758003}
parent c0f04326
...@@ -14,13 +14,15 @@ ...@@ -14,13 +14,15 @@
GPUBuffer buffer, GPUBuffer buffer,
optional GPUBufferSize offset = 0); optional GPUBufferSize offset = 0);
void draw(unsigned long vertexCount, unsigned long instanceCount, void draw(unsigned long vertexCount,
unsigned long firstVertex, optional unsigned long instanceCount = 1,
unsigned long firstInstance); optional unsigned long firstVertex = 0,
void drawIndexed(unsigned long indexCount, unsigned long instanceCount, optional unsigned long firstInstance = 0);
unsigned long firstIndex, void drawIndexed(unsigned long indexCount,
long baseVertex, optional unsigned long instanceCount = 1,
unsigned long firstInstance); optional unsigned long firstIndex = 0,
optional long baseVertex = 0,
optional unsigned long firstInstance = 0);
void drawIndirect(GPUBuffer indirectBuffer, void drawIndirect(GPUBuffer indirectBuffer,
GPUBufferSize indirectOffset); GPUBufferSize indirectOffset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment