Skip to content

Commit 055364a

Browse files
authored
Derives timestamp buffer size from BigUint64Array instead of BigInt64Array (#30290)
* use u64a * 'ci'
1 parent 3af0d63 commit 055364a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgpu/WebGPUBackend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ class WebGPUBackend extends Backend {
15011501
const renderContextData = this.get( renderContext );
15021502

15031503

1504-
const size = 2 * BigInt64Array.BYTES_PER_ELEMENT;
1504+
const size = 2 * BigUint64Array.BYTES_PER_ELEMENT;
15051505

15061506
if ( renderContextData.currentTimestampQueryBuffers === undefined ) {
15071507

0 commit comments

Comments
 (0)