const UNIFORM_ARRAY_TYPES: {
bool: Uint32ArrayConstructor,
vec2<bool>: Uint32ArrayConstructor,
vec3<bool>: Uint32ArrayConstructor,
vec4<bool>: Uint32ArrayConstructor,
u32: Uint32ArrayConstructor,
vec2<u32>: Uint32ArrayConstructor,
vec3<u32>: Uint32ArrayConstructor,
vec4<u32>: Uint32ArrayConstructor,
i32: Int32ArrayConstructor,
vec2<i32>: Int32ArrayConstructor,
vec3<i32>: Int32ArrayConstructor,
vec4<i32>: Int32ArrayConstructor,
f16: Uint16ArrayConstructor,
vec2<f16>: Uint16ArrayConstructor,
vec3<f16>: Uint16ArrayConstructor,
vec4<f16>: Uint16ArrayConstructor,
f32: Float32ArrayConstructor,
vec2<f32>: Float32ArrayConstructor,
vec3<f32>: Float32ArrayConstructor,
vec4<f32>: Float32ArrayConstructor,
f64: Float64ArrayConstructor,
vec2<f64>: Float64ArrayConstructor,
vec3<f64>: Float64ArrayConstructor,
vec4<f64>: Float64ArrayConstructor,
mat2x2<u32>: Uint32ArrayConstructor,
mat3x2<u32>: Uint32ArrayConstructor,
mat2x3<u32>: Uint32ArrayConstructor,
mat2x4<u32>: Uint32ArrayConstructor,
mat4x2<u32>: Uint32ArrayConstructor,
mat3x3<u32>: Uint32ArrayConstructor,
mat3x4<u32>: Uint32ArrayConstructor,
mat4x3<u32>: Uint32ArrayConstructor,
mat4x4<u32>: Uint32ArrayConstructor,
mat2x2<i32>: Int32ArrayConstructor,
mat3x2<i32>: Int32ArrayConstructor,
mat2x3<i32>: Int32ArrayConstructor,
mat2x4<i32>: Int32ArrayConstructor,
mat4x2<i32>: Int32ArrayConstructor,
mat3x3<i32>: Int32ArrayConstructor,
mat3x4<i32>: Int32ArrayConstructor,
mat4x3<i32>: Int32ArrayConstructor,
mat4x4<i32>: Int32ArrayConstructor,
mat2x2<f16>: Uint16ArrayConstructor,
mat3x2<f16>: Uint16ArrayConstructor,
mat2x3<f16>: Uint16ArrayConstructor,
mat2x4<f16>: Uint16ArrayConstructor,
mat4x2<f16>: Uint16ArrayConstructor,
mat3x3<f16>: Uint16ArrayConstructor,
mat3x4<f16>: Uint16ArrayConstructor,
mat4x3<f16>: Uint16ArrayConstructor,
mat4x4<f16>: Uint16ArrayConstructor,
mat2x2<f32>: Float32ArrayConstructor,
mat3x2<f32>: Float32ArrayConstructor,
mat2x3<f32>: Float32ArrayConstructor,
mat2x4<f32>: Float32ArrayConstructor,
mat4x2<f32>: Float32ArrayConstructor,
mat3x3<f32>: Float32ArrayConstructor,
mat3x4<f32>: Float32ArrayConstructor,
mat4x3<f32>: Float32ArrayConstructor,
mat4x4<f32>: Float32ArrayConstructor,
mat2x2<f64>: Float64ArrayConstructor,
mat3x2<f64>: Float64ArrayConstructor,
mat2x3<f64>: Float64ArrayConstructor,
mat2x4<f64>: Float64ArrayConstructor,
mat4x2<f64>: Float64ArrayConstructor,
mat3x3<f64>: Float64ArrayConstructor,
mat3x4<f64>: Float64ArrayConstructor,
mat4x3<f64>: Float64ArrayConstructor,
mat4x4<f64>: Float64ArrayConstructor,
atomic<u32>: Uint32ArrayConstructor,
atomic<i32>: Int32ArrayConstructor,
u8: Uint8ArrayConstructor,
i8: Int8ArrayConstructor,
u16: Uint16ArrayConstructor,
i16: Int16ArrayConstructor,
vec2<u8>: Uint8ArrayConstructor,
vec2<i8>: Int8ArrayConstructor,
vec2<u16>: Uint16ArrayConstructor,
vec2<i16>: Int16ArrayConstructor,
vec3<u8>: Uint8ArrayConstructor,
vec3<i8>: Int8ArrayConstructor,
vec3<u16>: Uint16ArrayConstructor,
vec3<i16>: Int16ArrayConstructor,
vec4<u8>: Uint8ArrayConstructor,
vec4<i8>: Int8ArrayConstructor,
vec4<u16>: Uint16ArrayConstructor,
vec4<i16>: Int16ArrayConstructor,
vec3to4<u8>: Uint8ArrayConstructor,
vec3to4<i8>: Int8ArrayConstructor,
vec3to4<u16>: Uint16ArrayConstructor,
vec3to4<i16>: Int16ArrayConstructor,
vec3to4<u32>: Uint32ArrayConstructor,
vec3to4<i32>: Int32ArrayConstructor,
vec3to4<f32>: Float32ArrayConstructor,
}
packages / core / src / constants.ts