Skip to content

Commit

Permalink
Make GPUProgrammableStage.entryPoint optional
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Nov 23, 2023
1 parent d6a8f8a commit e939af3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ interface GPUProgrammableStage {
* The name of the function in {@link GPUProgrammableStage#module} that this stage will use to
* perform its work.
*/
entryPoint: string;
entryPoint?: string;
/**
* Specifies the values of pipeline-overridable constants in the shader module
* {@link GPUProgrammableStage#module}.
Expand Down
2 changes: 1 addition & 1 deletion generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ interface GPUProgrammableStage {
* The name of the function in {@link GPUProgrammableStage#module} that this stage will use to
* perform its work.
*/
entryPoint: string;
entryPoint?: string;
/**
* Specifies the values of pipeline-overridable constants in the shader module
* {@link GPUProgrammableStage#module}.
Expand Down
2 changes: 1 addition & 1 deletion gpuweb

0 comments on commit e939af3

Please sign in to comment.