(bytesPerRow)
| 3234 | } |
| 3235 | |
| 3236 | _alignBytesPerRow(bytesPerRow) { |
| 3237 | // WebGPU requires bytesPerRow to be a multiple of 256 bytes for texture-to-buffer copies |
| 3238 | return Math.ceil(bytesPerRow / 256) * 256; |
| 3239 | } |
| 3240 | |
| 3241 | ////////////////////////////////////////////// |
| 3242 | // Framebuffer methods |
no outgoing calls
no test coverage detected