diff --git a/src/platform/graphics/shader.js b/src/platform/graphics/shader.js index 2de0ebaed5f..16a618a568d 100644 --- a/src/platform/graphics/shader.js +++ b/src/platform/graphics/shader.js @@ -75,6 +75,10 @@ class Shader { * WebGPU platform. * @param {string} [definition.computeEntryPoint] - The entry point function name for the compute * shader. Defaults to 'main'. + * @param {BindGroupFormat} [definition.computeBindGroupFormat] - The bind group format for + * caller-provided compute resources in group 0. Only used on WebGPU. + * @param {Object} [definition.computeUniformBufferFormats] - The + * uniform buffer formats keyed by bind group entry name. Requires computeBindGroupFormat. * @param {Map} [definition.vincludes] - A map containing key-value pairs of * include names and their content. These are used for resolving #include directives in the * vertex shader source.