Skip to content

Commit

Permalink
Derives timestamp buffer size from BigUint64Array instead of BigInt64…
Browse files Browse the repository at this point in the history
…Array (#30290)

* use u64a

* 'ci'
  • Loading branch information
ycw authored Jan 8, 2025
1 parent 3af0d63 commit 055364a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgpu/WebGPUBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ class WebGPUBackend extends Backend {
const renderContextData = this.get( renderContext );


const size = 2 * BigInt64Array.BYTES_PER_ELEMENT;
const size = 2 * BigUint64Array.BYTES_PER_ELEMENT;

if ( renderContextData.currentTimestampQueryBuffers === undefined ) {

Expand Down

0 comments on commit 055364a

Please sign in to comment.