Commit cee9ad6
authored
Add GPUComandEncoder.fillBuffer() (#2208)
Add GPUComandEncoder.fillBuffer() (#2208)
Fixes #1968.
In the future, we can add a 4th parameter, `value`, of type `octet` or `byte`. For now, though, the group seems to have just agreed on zeroing, rather than filling with a particular byte.
There are two commits in this PR, one that requires `GPUBufferUsage.STORAGE` on the buffer, and a second that relaxes this requirement because of #1968 (comment).1 parent 09a4f64 commit cee9ad6
1 file changed
+37
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5527 | 5527 | | |
5528 | 5528 | | |
5529 | 5529 | | |
| 5530 | + | |
| 5531 | + | |
| 5532 | + | |
| 5533 | + | |
| 5534 | + | |
5530 | 5535 | | |
5531 | 5536 | | |
5532 | 5537 | | |
| |||
5982 | 5987 | | |
5983 | 5988 | | |
5984 | 5989 | | |
| 5990 | + | |
| 5991 | + | |
| 5992 | + | |
| 5993 | + | |
| 5994 | + | |
| 5995 | + | |
| 5996 | + | |
| 5997 | + | |
| 5998 | + | |
| 5999 | + | |
| 6000 | + | |
| 6001 | + | |
| 6002 | + | |
| 6003 | + | |
| 6004 | + | |
| 6005 | + | |
| 6006 | + | |
| 6007 | + | |
| 6008 | + | |
| 6009 | + | |
| 6010 | + | |
| 6011 | + | |
| 6012 | + | |
| 6013 | + | |
| 6014 | + | |
| 6015 | + | |
| 6016 | + | |
| 6017 | + | |
| 6018 | + | |
| 6019 | + | |
| 6020 | + | |
| 6021 | + | |
5985 | 6022 | | |
5986 | 6023 | | |
5987 | 6024 | | |
| |||
0 commit comments