diff --git a/src/resources/cache/hashes.json b/src/resources/cache/hashes.json index d145ccb89678..bb92869fdf3e 100644 --- a/src/resources/cache/hashes.json +++ b/src/resources/cache/hashes.json @@ -1,112 +1,112 @@ { - "webgpu/shader/execution/binary/af_addition.bin": "1e7ade8f", - "webgpu/shader/execution/binary/af_logical.bin": "eabbd9bb", - "webgpu/shader/execution/binary/af_division.bin": "75026e5d", - "webgpu/shader/execution/binary/af_matrix_addition.bin": "7766307c", - "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "ab630a86", - "webgpu/shader/execution/binary/af_multiplication.bin": "70b7f2ec", - "webgpu/shader/execution/binary/af_remainder.bin": "cf98752", - "webgpu/shader/execution/binary/af_subtraction.bin": "47a995be", - "webgpu/shader/execution/binary/f16_addition.bin": "ee7c5afd", - "webgpu/shader/execution/binary/f16_logical.bin": "ac6c84cd", - "webgpu/shader/execution/binary/f16_division.bin": "91bf1b85", - "webgpu/shader/execution/binary/f16_matrix_addition.bin": "95220fdf", - "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "217e9abb", - "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "63c68358", - "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "85b3c94", - "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "e36e6306", - "webgpu/shader/execution/binary/f16_multiplication.bin": "51ce324f", - "webgpu/shader/execution/binary/f16_remainder.bin": "fe7a642c", - "webgpu/shader/execution/binary/f16_subtraction.bin": "9c3d3213", - "webgpu/shader/execution/binary/f32_addition.bin": "a3514804", - "webgpu/shader/execution/binary/f32_logical.bin": "e4947605", - "webgpu/shader/execution/binary/f32_division.bin": "205947f9", - "webgpu/shader/execution/binary/f32_matrix_addition.bin": "e9a098bc", - "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "e73b2b88", - "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "f3bc69d4", - "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "4182193c", - "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "a762545", - "webgpu/shader/execution/binary/f32_multiplication.bin": "e69098a", - "webgpu/shader/execution/binary/f32_remainder.bin": "8c66bdc5", - "webgpu/shader/execution/binary/f32_subtraction.bin": "b21c8176", - "webgpu/shader/execution/binary/i32_arithmetic.bin": "48c6e784", - "webgpu/shader/execution/binary/i32_comparison.bin": "e3a281f8", - "webgpu/shader/execution/binary/u32_arithmetic.bin": "23af45f4", - "webgpu/shader/execution/binary/u32_comparison.bin": "3b99a556", - "webgpu/shader/execution/abs.bin": "c83e175a", - "webgpu/shader/execution/acos.bin": "5c23ceec", - "webgpu/shader/execution/acosh.bin": "bebd9ea1", - "webgpu/shader/execution/asin.bin": "d83b28a0", - "webgpu/shader/execution/asinh.bin": "ec62fff6", - "webgpu/shader/execution/atan.bin": "cdf2a825", - "webgpu/shader/execution/atan2.bin": "c58491d3", - "webgpu/shader/execution/atanh.bin": "16db27b2", - "webgpu/shader/execution/bitcast.bin": "52e75f1f", - "webgpu/shader/execution/ceil.bin": "8a363afe", - "webgpu/shader/execution/clamp.bin": "8748cacb", - "webgpu/shader/execution/cos.bin": "3f4cb7d5", - "webgpu/shader/execution/cosh.bin": "570990b7", - "webgpu/shader/execution/cross.bin": "cc3bb1ca", - "webgpu/shader/execution/degrees.bin": "bfc847e1", - "webgpu/shader/execution/determinant.bin": "d740b4e0", - "webgpu/shader/execution/distance.bin": "34059ba9", - "webgpu/shader/execution/dot.bin": "fe7dc191", - "webgpu/shader/execution/exp.bin": "998f27b3", - "webgpu/shader/execution/exp2.bin": "2f7f001", - "webgpu/shader/execution/faceForward.bin": "14767d19", - "webgpu/shader/execution/floor.bin": "a11da6fe", - "webgpu/shader/execution/fma.bin": "ed6419c", - "webgpu/shader/execution/fract.bin": "e4dd63db", - "webgpu/shader/execution/frexp.bin": "7a5fa9b0", - "webgpu/shader/execution/inverseSqrt.bin": "3593042c", - "webgpu/shader/execution/ldexp.bin": "8c159b3b", - "webgpu/shader/execution/length.bin": "bba8f1a4", - "webgpu/shader/execution/log.bin": "a49f2b94", - "webgpu/shader/execution/log2.bin": "978e4d2b", - "webgpu/shader/execution/max.bin": "d19a9b4b", - "webgpu/shader/execution/min.bin": "8e0276ac", - "webgpu/shader/execution/mix.bin": "5b635f31", - "webgpu/shader/execution/modf.bin": "2e6bc0a3", - "webgpu/shader/execution/normalize.bin": "37d8d66a", - "webgpu/shader/execution/pack2x16float.bin": "41f42e3b", - "webgpu/shader/execution/pow.bin": "b96b89e6", - "webgpu/shader/execution/quantizeToF16.bin": "cb5456b5", - "webgpu/shader/execution/radians.bin": "91779e2d", - "webgpu/shader/execution/reflect.bin": "a32bc2a3", - "webgpu/shader/execution/refract.bin": "67798e50", - "webgpu/shader/execution/round.bin": "ff065bbe", - "webgpu/shader/execution/saturate.bin": "d3cde91b", - "webgpu/shader/execution/sign.bin": "2043a843", - "webgpu/shader/execution/sin.bin": "6e562d64", - "webgpu/shader/execution/sinh.bin": "ca157953", - "webgpu/shader/execution/smoothstep.bin": "47cc9e82", - "webgpu/shader/execution/sqrt.bin": "a0b1c2b0", - "webgpu/shader/execution/step.bin": "5fea1db2", - "webgpu/shader/execution/tan.bin": "6e7c87d2", - "webgpu/shader/execution/tanh.bin": "1a887c6", - "webgpu/shader/execution/transpose.bin": "a6bcdb48", - "webgpu/shader/execution/trunc.bin": "33bc7911", - "webgpu/shader/execution/unpack2x16float.bin": "498242fc", - "webgpu/shader/execution/unpack2x16snorm.bin": "b4abc1db", - "webgpu/shader/execution/unpack2x16unorm.bin": "47c6d778", - "webgpu/shader/execution/unpack4x8snorm.bin": "f9c1bd7f", - "webgpu/shader/execution/unpack4x8unorm.bin": "697c1e3d", - "webgpu/shader/execution/unary/af_arithmetic.bin": "c6747569", - "webgpu/shader/execution/unary/af_assignment.bin": "5a8af121", - "webgpu/shader/execution/unary/bool_conversion.bin": "7b6e1b30", - "webgpu/shader/execution/unary/f16_arithmetic.bin": "2760b013", - "webgpu/shader/execution/unary/f16_conversion.bin": "be0cca9f", - "webgpu/shader/execution/unary/f32_arithmetic.bin": "50f04d2a", - "webgpu/shader/execution/unary/f32_conversion.bin": "9f93b5cb", - "webgpu/shader/execution/unary/i32_arithmetic.bin": "cf4bfdf", - "webgpu/shader/execution/unary/i32_conversion.bin": "ae491eb1", - "webgpu/shader/execution/unary/u32_conversion.bin": "a6ba71ee", - "webgpu/shader/execution/unary/ai_assignment.bin": "ce09a23c", - "webgpu/shader/execution/binary/ai_arithmetic.bin": "1b1ecb9b", - "webgpu/shader/execution/unary/ai_arithmetic.bin": "708450d1", - "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "38938fc1", - "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "a37ce91f", - "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "146b89f", - "webgpu/shader/execution/derivatives.bin": "cf3e0332", - "webgpu/shader/execution/fwidth.bin": "737f57a6" + "webgpu/shader/execution/binary/af_addition.bin": "82c9422d", + "webgpu/shader/execution/binary/af_logical.bin": "fe21109a", + "webgpu/shader/execution/binary/af_division.bin": "606ed00d", + "webgpu/shader/execution/binary/af_matrix_addition.bin": "731d24fb", + "webgpu/shader/execution/binary/af_matrix_subtraction.bin": "ada2bd52", + "webgpu/shader/execution/binary/af_multiplication.bin": "cc2892a3", + "webgpu/shader/execution/binary/af_remainder.bin": "6ac1fa", + "webgpu/shader/execution/binary/af_subtraction.bin": "f6e12b22", + "webgpu/shader/execution/binary/f16_addition.bin": "4b1f652f", + "webgpu/shader/execution/binary/f16_logical.bin": "8c8f6ced", + "webgpu/shader/execution/binary/f16_division.bin": "79519150", + "webgpu/shader/execution/binary/f16_matrix_addition.bin": "1aca77a1", + "webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "5416bc07", + "webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "3c3b8d39", + "webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "8f4be1ef", + "webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "a3a2c8fd", + "webgpu/shader/execution/binary/f16_multiplication.bin": "d6602d76", + "webgpu/shader/execution/binary/f16_remainder.bin": "693a0ace", + "webgpu/shader/execution/binary/f16_subtraction.bin": "81e29c16", + "webgpu/shader/execution/binary/f32_addition.bin": "64946a10", + "webgpu/shader/execution/binary/f32_logical.bin": "69c18e28", + "webgpu/shader/execution/binary/f32_division.bin": "3d6326d2", + "webgpu/shader/execution/binary/f32_matrix_addition.bin": "1b9a4a03", + "webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "7339e7a4", + "webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "428a8238", + "webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "9651223a", + "webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "3f9688e9", + "webgpu/shader/execution/binary/f32_multiplication.bin": "9291e0f2", + "webgpu/shader/execution/binary/f32_remainder.bin": "719f1d40", + "webgpu/shader/execution/binary/f32_subtraction.bin": "59b6582e", + "webgpu/shader/execution/binary/i32_arithmetic.bin": "c81cf318", + "webgpu/shader/execution/binary/i32_comparison.bin": "21e05bd7", + "webgpu/shader/execution/binary/u32_arithmetic.bin": "eb905f8f", + "webgpu/shader/execution/binary/u32_comparison.bin": "665ed925", + "webgpu/shader/execution/abs.bin": "ec493974", + "webgpu/shader/execution/acos.bin": "3806122f", + "webgpu/shader/execution/acosh.bin": "bef89cc8", + "webgpu/shader/execution/asin.bin": "2e9a0a5b", + "webgpu/shader/execution/asinh.bin": "e5e056b8", + "webgpu/shader/execution/atan.bin": "d89481bf", + "webgpu/shader/execution/atan2.bin": "5320957a", + "webgpu/shader/execution/atanh.bin": "46226444", + "webgpu/shader/execution/bitcast.bin": "3c797668", + "webgpu/shader/execution/ceil.bin": "3c12c9a8", + "webgpu/shader/execution/clamp.bin": "dee74684", + "webgpu/shader/execution/cos.bin": "425c0bf3", + "webgpu/shader/execution/cosh.bin": "1664b602", + "webgpu/shader/execution/cross.bin": "1a4286f4", + "webgpu/shader/execution/degrees.bin": "50d340d8", + "webgpu/shader/execution/determinant.bin": "bb023e5", + "webgpu/shader/execution/distance.bin": "f881e9c4", + "webgpu/shader/execution/dot.bin": "570fea29", + "webgpu/shader/execution/exp.bin": "76843e6f", + "webgpu/shader/execution/exp2.bin": "75dfc3ba", + "webgpu/shader/execution/faceForward.bin": "6f5f6a3b", + "webgpu/shader/execution/floor.bin": "388bd73", + "webgpu/shader/execution/fma.bin": "7fe4d24b", + "webgpu/shader/execution/fract.bin": "f614e69f", + "webgpu/shader/execution/frexp.bin": "3c21ac64", + "webgpu/shader/execution/inverseSqrt.bin": "c41a3b91", + "webgpu/shader/execution/ldexp.bin": "82715024", + "webgpu/shader/execution/length.bin": "8b8e6a96", + "webgpu/shader/execution/log.bin": "febf86a5", + "webgpu/shader/execution/log2.bin": "8961d4f8", + "webgpu/shader/execution/max.bin": "10aee992", + "webgpu/shader/execution/min.bin": "aebcc063", + "webgpu/shader/execution/mix.bin": "968355d6", + "webgpu/shader/execution/modf.bin": "2ed2e487", + "webgpu/shader/execution/normalize.bin": "6e7113f9", + "webgpu/shader/execution/pack2x16float.bin": "33bb2862", + "webgpu/shader/execution/pow.bin": "83285164", + "webgpu/shader/execution/quantizeToF16.bin": "22eb970e", + "webgpu/shader/execution/radians.bin": "2653234f", + "webgpu/shader/execution/reflect.bin": "a3ee7789", + "webgpu/shader/execution/refract.bin": "77a43445", + "webgpu/shader/execution/round.bin": "421742d7", + "webgpu/shader/execution/saturate.bin": "2382307d", + "webgpu/shader/execution/sign.bin": "af1a4dfa", + "webgpu/shader/execution/sin.bin": "9ebf5419", + "webgpu/shader/execution/sinh.bin": "7ec22790", + "webgpu/shader/execution/smoothstep.bin": "9f12610c", + "webgpu/shader/execution/sqrt.bin": "11c3e405", + "webgpu/shader/execution/step.bin": "9363eaf0", + "webgpu/shader/execution/tan.bin": "adfe8d47", + "webgpu/shader/execution/tanh.bin": "76f2df9", + "webgpu/shader/execution/transpose.bin": "1c664829", + "webgpu/shader/execution/trunc.bin": "599ddfaf", + "webgpu/shader/execution/unpack2x16float.bin": "4995ab2c", + "webgpu/shader/execution/unpack2x16snorm.bin": "4d7e0eb5", + "webgpu/shader/execution/unpack2x16unorm.bin": "5bd397da", + "webgpu/shader/execution/unpack4x8snorm.bin": "9a4d38cb", + "webgpu/shader/execution/unpack4x8unorm.bin": "66308de3", + "webgpu/shader/execution/unary/af_arithmetic.bin": "c6efec3", + "webgpu/shader/execution/unary/af_assignment.bin": "92d5b3da", + "webgpu/shader/execution/unary/bool_conversion.bin": "1dd65f27", + "webgpu/shader/execution/unary/f16_arithmetic.bin": "d3e48584", + "webgpu/shader/execution/unary/f16_conversion.bin": "caf76d89", + "webgpu/shader/execution/unary/f32_arithmetic.bin": "20e7caca", + "webgpu/shader/execution/unary/f32_conversion.bin": "a1d49d40", + "webgpu/shader/execution/unary/i32_arithmetic.bin": "e83d060d", + "webgpu/shader/execution/unary/i32_conversion.bin": "25421e80", + "webgpu/shader/execution/unary/u32_conversion.bin": "bd8f17ae", + "webgpu/shader/execution/unary/ai_assignment.bin": "7be15439", + "webgpu/shader/execution/binary/ai_arithmetic.bin": "ccff3bc2", + "webgpu/shader/execution/unary/ai_arithmetic.bin": "840cb623", + "webgpu/shader/execution/binary/af_matrix_matrix_multiplication.bin": "50719535", + "webgpu/shader/execution/binary/af_matrix_scalar_multiplication.bin": "758077e0", + "webgpu/shader/execution/binary/af_matrix_vector_multiplication.bin": "32ebd17e", + "webgpu/shader/execution/derivatives.bin": "381b6836", + "webgpu/shader/execution/fwidth.bin": "4fda6558" } \ No newline at end of file diff --git a/src/resources/cache/webgpu/shader/execution/abs.bin b/src/resources/cache/webgpu/shader/execution/abs.bin index 4cba9b72dff4..373fef8f3b32 100644 Binary files a/src/resources/cache/webgpu/shader/execution/abs.bin and b/src/resources/cache/webgpu/shader/execution/abs.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/acos.bin b/src/resources/cache/webgpu/shader/execution/acos.bin index 2ecaaa389a4e..5e311531fef4 100644 Binary files a/src/resources/cache/webgpu/shader/execution/acos.bin and b/src/resources/cache/webgpu/shader/execution/acos.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/acosh.bin b/src/resources/cache/webgpu/shader/execution/acosh.bin index d48659f3c325..82a3857ebdc6 100644 Binary files a/src/resources/cache/webgpu/shader/execution/acosh.bin and b/src/resources/cache/webgpu/shader/execution/acosh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/asin.bin b/src/resources/cache/webgpu/shader/execution/asin.bin index b199953eaf4b..388de445c06b 100644 Binary files a/src/resources/cache/webgpu/shader/execution/asin.bin and b/src/resources/cache/webgpu/shader/execution/asin.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/asinh.bin b/src/resources/cache/webgpu/shader/execution/asinh.bin index b370c53b0179..120654f685c2 100644 Binary files a/src/resources/cache/webgpu/shader/execution/asinh.bin and b/src/resources/cache/webgpu/shader/execution/asinh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/atan.bin b/src/resources/cache/webgpu/shader/execution/atan.bin index 6ab0ba106a9e..e81af87e15e0 100644 Binary files a/src/resources/cache/webgpu/shader/execution/atan.bin and b/src/resources/cache/webgpu/shader/execution/atan.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/atanh.bin b/src/resources/cache/webgpu/shader/execution/atanh.bin index e6a190b35df5..a7fee794094d 100644 Binary files a/src/resources/cache/webgpu/shader/execution/atanh.bin and b/src/resources/cache/webgpu/shader/execution/atanh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/bitcast.bin b/src/resources/cache/webgpu/shader/execution/bitcast.bin index 055c1ca6d5a2..e743a092553e 100644 Binary files a/src/resources/cache/webgpu/shader/execution/bitcast.bin and b/src/resources/cache/webgpu/shader/execution/bitcast.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/ceil.bin b/src/resources/cache/webgpu/shader/execution/ceil.bin index 9b93ed416f64..02cf23324cdf 100644 Binary files a/src/resources/cache/webgpu/shader/execution/ceil.bin and b/src/resources/cache/webgpu/shader/execution/ceil.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/cos.bin b/src/resources/cache/webgpu/shader/execution/cos.bin index 4e34eff3f1b1..a5d8573c6257 100644 Binary files a/src/resources/cache/webgpu/shader/execution/cos.bin and b/src/resources/cache/webgpu/shader/execution/cos.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/cosh.bin b/src/resources/cache/webgpu/shader/execution/cosh.bin index 5b30d2786c5e..25e8750cc7fc 100644 Binary files a/src/resources/cache/webgpu/shader/execution/cosh.bin and b/src/resources/cache/webgpu/shader/execution/cosh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/degrees.bin b/src/resources/cache/webgpu/shader/execution/degrees.bin index 662558d78aca..eb514cb48b4d 100644 Binary files a/src/resources/cache/webgpu/shader/execution/degrees.bin and b/src/resources/cache/webgpu/shader/execution/degrees.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/distance.bin b/src/resources/cache/webgpu/shader/execution/distance.bin index 23a4756a69eb..06d0d9a8fc2a 100644 Binary files a/src/resources/cache/webgpu/shader/execution/distance.bin and b/src/resources/cache/webgpu/shader/execution/distance.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/floor.bin b/src/resources/cache/webgpu/shader/execution/floor.bin index b5341907f8ef..a199d0db9ff0 100644 Binary files a/src/resources/cache/webgpu/shader/execution/floor.bin and b/src/resources/cache/webgpu/shader/execution/floor.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/fract.bin b/src/resources/cache/webgpu/shader/execution/fract.bin index 7f09e8f60b23..bb80e873625f 100644 Binary files a/src/resources/cache/webgpu/shader/execution/fract.bin and b/src/resources/cache/webgpu/shader/execution/fract.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/frexp.bin b/src/resources/cache/webgpu/shader/execution/frexp.bin index 6811dfa29507..8f87d16a9c95 100644 Binary files a/src/resources/cache/webgpu/shader/execution/frexp.bin and b/src/resources/cache/webgpu/shader/execution/frexp.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/length.bin b/src/resources/cache/webgpu/shader/execution/length.bin index 3644d9b683ac..db42153edff7 100644 Binary files a/src/resources/cache/webgpu/shader/execution/length.bin and b/src/resources/cache/webgpu/shader/execution/length.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/log.bin b/src/resources/cache/webgpu/shader/execution/log.bin index ba591faad8a0..a5e62f8e02d8 100644 Binary files a/src/resources/cache/webgpu/shader/execution/log.bin and b/src/resources/cache/webgpu/shader/execution/log.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/log2.bin b/src/resources/cache/webgpu/shader/execution/log2.bin index 00641ce119cf..f19d77f41097 100644 Binary files a/src/resources/cache/webgpu/shader/execution/log2.bin and b/src/resources/cache/webgpu/shader/execution/log2.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/modf.bin b/src/resources/cache/webgpu/shader/execution/modf.bin index 363cc161fd72..74259a23a6f8 100644 Binary files a/src/resources/cache/webgpu/shader/execution/modf.bin and b/src/resources/cache/webgpu/shader/execution/modf.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/pack2x16float.bin b/src/resources/cache/webgpu/shader/execution/pack2x16float.bin index e95227d36e50..a7b99a0a6cfd 100644 Binary files a/src/resources/cache/webgpu/shader/execution/pack2x16float.bin and b/src/resources/cache/webgpu/shader/execution/pack2x16float.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/pow.bin b/src/resources/cache/webgpu/shader/execution/pow.bin index 4f5faf3293fa..f66ec5ca2fbe 100644 Binary files a/src/resources/cache/webgpu/shader/execution/pow.bin and b/src/resources/cache/webgpu/shader/execution/pow.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/quantizeToF16.bin b/src/resources/cache/webgpu/shader/execution/quantizeToF16.bin index 9e4308d5cd30..d6d75befc06b 100644 Binary files a/src/resources/cache/webgpu/shader/execution/quantizeToF16.bin and b/src/resources/cache/webgpu/shader/execution/quantizeToF16.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/radians.bin b/src/resources/cache/webgpu/shader/execution/radians.bin index f5285d108778..731e6be24ed5 100644 Binary files a/src/resources/cache/webgpu/shader/execution/radians.bin and b/src/resources/cache/webgpu/shader/execution/radians.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/round.bin b/src/resources/cache/webgpu/shader/execution/round.bin index c3b30b68f0a1..5ccab9e661c4 100644 Binary files a/src/resources/cache/webgpu/shader/execution/round.bin and b/src/resources/cache/webgpu/shader/execution/round.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/saturate.bin b/src/resources/cache/webgpu/shader/execution/saturate.bin index 2e1eb821a9e7..e7402f25af73 100644 Binary files a/src/resources/cache/webgpu/shader/execution/saturate.bin and b/src/resources/cache/webgpu/shader/execution/saturate.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/sign.bin b/src/resources/cache/webgpu/shader/execution/sign.bin index 033f2e8158f6..576019c008ee 100644 Binary files a/src/resources/cache/webgpu/shader/execution/sign.bin and b/src/resources/cache/webgpu/shader/execution/sign.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/sin.bin b/src/resources/cache/webgpu/shader/execution/sin.bin index a2ca632008ff..bdbbfe2bd539 100644 Binary files a/src/resources/cache/webgpu/shader/execution/sin.bin and b/src/resources/cache/webgpu/shader/execution/sin.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/sinh.bin b/src/resources/cache/webgpu/shader/execution/sinh.bin index 1176cd472bf2..b4b051a226ae 100644 Binary files a/src/resources/cache/webgpu/shader/execution/sinh.bin and b/src/resources/cache/webgpu/shader/execution/sinh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/sqrt.bin b/src/resources/cache/webgpu/shader/execution/sqrt.bin index 6dd8088c0898..64a7db70d004 100644 Binary files a/src/resources/cache/webgpu/shader/execution/sqrt.bin and b/src/resources/cache/webgpu/shader/execution/sqrt.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/tan.bin b/src/resources/cache/webgpu/shader/execution/tan.bin index 572bee4df2a5..5af3e740d213 100644 Binary files a/src/resources/cache/webgpu/shader/execution/tan.bin and b/src/resources/cache/webgpu/shader/execution/tan.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/tanh.bin b/src/resources/cache/webgpu/shader/execution/tanh.bin index a13028b165f0..9687ff00235c 100644 Binary files a/src/resources/cache/webgpu/shader/execution/tanh.bin and b/src/resources/cache/webgpu/shader/execution/tanh.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/trunc.bin b/src/resources/cache/webgpu/shader/execution/trunc.bin index ba81e2ada427..e18bb52ed981 100644 Binary files a/src/resources/cache/webgpu/shader/execution/trunc.bin and b/src/resources/cache/webgpu/shader/execution/trunc.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/bool_conversion.bin b/src/resources/cache/webgpu/shader/execution/unary/bool_conversion.bin index 98a90ea45b9a..f28c275092f1 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/bool_conversion.bin and b/src/resources/cache/webgpu/shader/execution/unary/bool_conversion.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/f16_conversion.bin b/src/resources/cache/webgpu/shader/execution/unary/f16_conversion.bin index 14299da76670..c47b3d0afcb0 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/f16_conversion.bin and b/src/resources/cache/webgpu/shader/execution/unary/f16_conversion.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/f32_arithmetic.bin b/src/resources/cache/webgpu/shader/execution/unary/f32_arithmetic.bin index ebc60029fa60..6e93bec14f76 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/f32_arithmetic.bin and b/src/resources/cache/webgpu/shader/execution/unary/f32_arithmetic.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/f32_conversion.bin b/src/resources/cache/webgpu/shader/execution/unary/f32_conversion.bin index 66b2bc73f889..55e1f5ed945f 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/f32_conversion.bin and b/src/resources/cache/webgpu/shader/execution/unary/f32_conversion.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/i32_conversion.bin b/src/resources/cache/webgpu/shader/execution/unary/i32_conversion.bin index 04841df60785..49969e9221ad 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/i32_conversion.bin and b/src/resources/cache/webgpu/shader/execution/unary/i32_conversion.bin differ diff --git a/src/resources/cache/webgpu/shader/execution/unary/u32_conversion.bin b/src/resources/cache/webgpu/shader/execution/unary/u32_conversion.bin index 277ffc4d76b7..8dfc4e268561 100644 Binary files a/src/resources/cache/webgpu/shader/execution/unary/u32_conversion.bin and b/src/resources/cache/webgpu/shader/execution/unary/u32_conversion.bin differ diff --git a/src/webgpu/util/math.ts b/src/webgpu/util/math.ts index 20d7818df65d..d5ca2b41320e 100644 --- a/src/webgpu/util/math.ts +++ b/src/webgpu/util/math.ts @@ -961,6 +961,17 @@ export function scalarF32Range( counts.neg_norm = counts.neg_norm === undefined ? counts.pos_norm : counts.neg_norm; counts.neg_sub = counts.neg_sub === undefined ? counts.pos_sub : counts.neg_sub; + let special_pos: number[] = []; + // The first interior point for 'pos_norm' is at 3. Because we have two special values we start allowing these + // special values as soon as they will fit as interior values. + if (counts.pos_norm >= 4) { + special_pos = [ + // Largest float as signed integer + 0x4effffff, + // Largest float as unsigned integer + 0x4f7fffff, + ]; + } // Generating bit fields first and then converting to f32, so that the spread across the possible f32 values is more // even. Generating against the bounds of f32 values directly results in the values being extremely biased towards the // extremes, since they are so much larger. @@ -980,7 +991,14 @@ export function scalarF32Range( kBit.f32.positive.subnormal.max, counts.pos_sub ), - ...linearRange(kBit.f32.positive.min, kBit.f32.positive.max, counts.pos_norm), + ...[ + ...linearRange( + kBit.f32.positive.min, + kBit.f32.positive.max, + counts.pos_norm - special_pos.length + ), + ...special_pos, + ].sort((n1, n2) => n1 - n2), ].map(Math.trunc); return bit_fields.map(reinterpretU32AsF32); }