@@ -7215,9 +7215,12 @@ enum GPUStoreOp {
72157215 drawIndirectParameters[0] = vertexCount;
72167216 drawIndirectParameters[1] = instanceCount;
72177217 drawIndirectParameters[2] = firstVertex;
7218- drawIndirectParameters[3] = firstInstance;
7218+ drawIndirectParameters[3] = 0; // firstInstance. Must be 0.
72197219 </pre>
72207220
7221+ The value corresponding to `firstInstance` is reserved for future use and must be zero. If
7222+ it is not zero the {{GPURenderEncoderBase/drawIndirect()}} call will be treated as a no-op.
7223+
72217224 <div algorithm="GPURenderEncoderBase.drawIndirect">
72227225 **Called on:** {{GPURenderEncoderBase}} this.
72237226
@@ -7259,9 +7262,13 @@ enum GPUStoreOp {
72597262 drawIndexedIndirectParameters[1] = instanceCount;
72607263 drawIndexedIndirectParameters[2] = firstIndex;
72617264 drawIndexedIndirectParameters[3] = baseVertex;
7262- drawIndexedIndirectParameters[4] = firstInstance;
7265+ drawIndexedIndirectParameters[4] = 0; // firstInstance. Must be 0.
72637266 </pre>
72647267
7268+ The value corresponding to `firstInstance` is reserved for future use and must be zero. If
7269+ it is not zero the {{GPURenderEncoderBase/drawIndexedIndirect()}} call will be treated as a
7270+ no-op.
7271+
72657272 <div algorithm="GPURenderEncoderBase.drawIndexedIndirect">
72667273 **Called on:** {{GPURenderEncoderBase}} this.
72677274
@@ -7289,6 +7296,10 @@ enum GPUStoreOp {
72897296 </div>
72907297</dl>
72917298
7299+ Note: The ability to set a `firstInstance` for indirect draw calls is initially disabled to expand
7300+ the hardware that supports WebGPU. It is likely to be added as a feature in the future along with
7301+ other new indirect drawing features.
7302+
72927303<div algorithm>
72937304 To determine if it's <dfn abstract-op>valid to draw</dfn> with {{GPURenderEncoderBase}} |encoder|
72947305 run the following steps:
0 commit comments