We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d808e37 commit ff493e7Copy full SHA for ff493e7
src/renderers/webgpu/utils/WebGPUAttributeUtils.js
@@ -71,11 +71,11 @@ class WebGPUAttributeUtils {
71
// patch for INT16 and UINT16
72
if ( attribute.normalized === false ) {
73
74
- if ( array.constructor === Int16Array ) {
+ if ( array.constructor === Int16Array || array.constructor === Int8Array ) {
75
76
array = new Int32Array( array );
77
78
- } else if ( array.constructor === Uint16Array ) {
+ } else if ( array.constructor === Uint16Array || array.constructor === Uint8Array ) {
79
80
array = new Uint32Array( array );
81
0 commit comments