Skip to content

Commit

Permalink
wgsl: Rework how input domain domains are limited
Browse files Browse the repository at this point in the history
Changes from wrap and forward pattern to have an optional utility
function that returns the acceptable domains. This helps simplify
reasoning about object lifetimes.

Fixes #3201
  • Loading branch information
zoddicus committed Dec 5, 2023
1 parent 6590a34 commit 2e528a7
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 216 deletions.
180 changes: 90 additions & 90 deletions src/resources/cache/hashes.json
Original file line number Diff line number Diff line change
@@ -1,103 +1,103 @@
{
"webgpu/shader/execution/binary/af_addition.bin": "b5345cca",
"webgpu/shader/execution/binary/af_addition.bin": "8caa521c",
"webgpu/shader/execution/binary/af_logical.bin": "9ec85311",
"webgpu/shader/execution/binary/af_division.bin": "23dd840e",
"webgpu/shader/execution/binary/af_matrix_addition.bin": "ee95539e",
"webgpu/shader/execution/binary/af_matrix_subtraction.bin": "a2e64d57",
"webgpu/shader/execution/binary/af_multiplication.bin": "94d7a574",
"webgpu/shader/execution/binary/af_remainder.bin": "79f5abc4",
"webgpu/shader/execution/binary/af_subtraction.bin": "62dce5bf",
"webgpu/shader/execution/binary/f16_addition.bin": "ab3b4d9c",
"webgpu/shader/execution/binary/af_division.bin": "e23dcdaf",
"webgpu/shader/execution/binary/af_matrix_addition.bin": "6d646c",
"webgpu/shader/execution/binary/af_matrix_subtraction.bin": "209186b2",
"webgpu/shader/execution/binary/af_multiplication.bin": "2c75f80d",
"webgpu/shader/execution/binary/af_remainder.bin": "cb8d71d5",
"webgpu/shader/execution/binary/af_subtraction.bin": "591ab700",
"webgpu/shader/execution/binary/f16_addition.bin": "3e6e3718",
"webgpu/shader/execution/binary/f16_logical.bin": "1edd08ec",
"webgpu/shader/execution/binary/f16_division.bin": "849eed26",
"webgpu/shader/execution/binary/f16_matrix_addition.bin": "54afc3f8",
"webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "df5d3ccc",
"webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "3be6032e",
"webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "98a29837",
"webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "c463d7e0",
"webgpu/shader/execution/binary/f16_multiplication.bin": "cdf0775d",
"webgpu/shader/execution/binary/f16_remainder.bin": "e82ef89f",
"webgpu/shader/execution/binary/f16_subtraction.bin": "5125b5b0",
"webgpu/shader/execution/binary/f32_addition.bin": "d3b8004",
"webgpu/shader/execution/binary/f16_division.bin": "4d4a466c",
"webgpu/shader/execution/binary/f16_matrix_addition.bin": "e9a73220",
"webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "174f5bf4",
"webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "6ec1129b",
"webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "5d80a450",
"webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "4089a4d8",
"webgpu/shader/execution/binary/f16_multiplication.bin": "201037f5",
"webgpu/shader/execution/binary/f16_remainder.bin": "a02775d4",
"webgpu/shader/execution/binary/f16_subtraction.bin": "3b6fbf4f",
"webgpu/shader/execution/binary/f32_addition.bin": "63a120c",
"webgpu/shader/execution/binary/f32_logical.bin": "fab7cfc5",
"webgpu/shader/execution/binary/f32_division.bin": "e9fdb0a9",
"webgpu/shader/execution/binary/f32_matrix_addition.bin": "d1165469",
"webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "45a79521",
"webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "bf8da7d0",
"webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "82d7fa9",
"webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "57eebe84",
"webgpu/shader/execution/binary/f32_multiplication.bin": "eb0baa56",
"webgpu/shader/execution/binary/f32_remainder.bin": "e6059990",
"webgpu/shader/execution/binary/f32_subtraction.bin": "d57cfa1",
"webgpu/shader/execution/binary/f32_division.bin": "d1a80c05",
"webgpu/shader/execution/binary/f32_matrix_addition.bin": "58a2d66f",
"webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "6ff483e9",
"webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "8accca5e",
"webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "bd890a43",
"webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "84e3e009",
"webgpu/shader/execution/binary/f32_multiplication.bin": "f020c706",
"webgpu/shader/execution/binary/f32_remainder.bin": "18cc3719",
"webgpu/shader/execution/binary/f32_subtraction.bin": "ab372e7d",
"webgpu/shader/execution/binary/i32_arithmetic.bin": "de93ee2a",
"webgpu/shader/execution/binary/i32_comparison.bin": "aaa1f21b",
"webgpu/shader/execution/binary/u32_arithmetic.bin": "d79a1011",
"webgpu/shader/execution/binary/u32_comparison.bin": "31764c75",
"webgpu/shader/execution/abs.bin": "9278901c",
"webgpu/shader/execution/acos.bin": "9c77ebf9",
"webgpu/shader/execution/acosh.bin": "2baaf7cc",
"webgpu/shader/execution/asin.bin": "8fd7a678",
"webgpu/shader/execution/asinh.bin": "321a7294",
"webgpu/shader/execution/atan.bin": "d3dada7e",
"webgpu/shader/execution/atan2.bin": "2871596c",
"webgpu/shader/execution/atanh.bin": "e7158ef",
"webgpu/shader/execution/bitcast.bin": "aa7d6f0e",
"webgpu/shader/execution/ceil.bin": "3c1d91ad",
"webgpu/shader/execution/clamp.bin": "a53fdbda",
"webgpu/shader/execution/cos.bin": "73b83288",
"webgpu/shader/execution/cosh.bin": "39ca32a4",
"webgpu/shader/execution/cross.bin": "409c3e26",
"webgpu/shader/execution/degrees.bin": "a44bb2b1",
"webgpu/shader/execution/determinant.bin": "41a06528",
"webgpu/shader/execution/distance.bin": "fe3ea84f",
"webgpu/shader/execution/dot.bin": "f70abfec",
"webgpu/shader/execution/exp.bin": "7587e11b",
"webgpu/shader/execution/exp2.bin": "c6f34d2b",
"webgpu/shader/execution/faceForward.bin": "8eb57a7d",
"webgpu/shader/execution/floor.bin": "b9ea647b",
"webgpu/shader/execution/fma.bin": "b9f657b2",
"webgpu/shader/execution/fract.bin": "73a18e4f",
"webgpu/shader/execution/frexp.bin": "857fe9b7",
"webgpu/shader/execution/inverseSqrt.bin": "a595983a",
"webgpu/shader/execution/ldexp.bin": "a04aaeca",
"webgpu/shader/execution/length.bin": "695740fb",
"webgpu/shader/execution/log.bin": "6703ec1a",
"webgpu/shader/execution/log2.bin": "8339559d",
"webgpu/shader/execution/max.bin": "ec000a56",
"webgpu/shader/execution/min.bin": "156cf7cc",
"webgpu/shader/execution/mix.bin": "32064d21",
"webgpu/shader/execution/modf.bin": "a5003ce0",
"webgpu/shader/execution/normalize.bin": "c12bac96",
"webgpu/shader/execution/abs.bin": "2f4f41ec",
"webgpu/shader/execution/acos.bin": "29cd6a9d",
"webgpu/shader/execution/acosh.bin": "8f353902",
"webgpu/shader/execution/asin.bin": "fdc73410",
"webgpu/shader/execution/asinh.bin": "75e45e2f",
"webgpu/shader/execution/atan.bin": "76db77bf",
"webgpu/shader/execution/atan2.bin": "aaabca52",
"webgpu/shader/execution/atanh.bin": "afd7c14a",
"webgpu/shader/execution/bitcast.bin": "96e511b8",
"webgpu/shader/execution/ceil.bin": "49397bc8",
"webgpu/shader/execution/clamp.bin": "83a4ea7d",
"webgpu/shader/execution/cos.bin": "4eab2495",
"webgpu/shader/execution/cosh.bin": "35562d01",
"webgpu/shader/execution/cross.bin": "c40a5e24",
"webgpu/shader/execution/degrees.bin": "b52a3afc",
"webgpu/shader/execution/determinant.bin": "6eab0a1",
"webgpu/shader/execution/distance.bin": "86360fe0",
"webgpu/shader/execution/dot.bin": "b68163d6",
"webgpu/shader/execution/exp.bin": "8d106f52",
"webgpu/shader/execution/exp2.bin": "e1831faa",
"webgpu/shader/execution/faceForward.bin": "8a7353d",
"webgpu/shader/execution/floor.bin": "d36a9301",
"webgpu/shader/execution/fma.bin": "9603f401",
"webgpu/shader/execution/fract.bin": "e9b13040",
"webgpu/shader/execution/frexp.bin": "87879afd",
"webgpu/shader/execution/inverseSqrt.bin": "d8b75af4",
"webgpu/shader/execution/ldexp.bin": "86a424ef",
"webgpu/shader/execution/length.bin": "3d90e44d",
"webgpu/shader/execution/log.bin": "dfe5b842",
"webgpu/shader/execution/log2.bin": "51ff9a7e",
"webgpu/shader/execution/max.bin": "8cea21d7",
"webgpu/shader/execution/min.bin": "3472a1f2",
"webgpu/shader/execution/mix.bin": "dbce34b2",
"webgpu/shader/execution/modf.bin": "a8dde5fb",
"webgpu/shader/execution/normalize.bin": "debe1a4c",
"webgpu/shader/execution/pack2x16float.bin": "b2cb12ea",
"webgpu/shader/execution/pow.bin": "ee87eccb",
"webgpu/shader/execution/quantizeToF16.bin": "f77ae7e3",
"webgpu/shader/execution/radians.bin": "7ecbe5be",
"webgpu/shader/execution/reflect.bin": "d37034bd",
"webgpu/shader/execution/refract.bin": "6dc9adcf",
"webgpu/shader/execution/round.bin": "d91faa0f",
"webgpu/shader/execution/saturate.bin": "93230980",
"webgpu/shader/execution/sign.bin": "fb1071b8",
"webgpu/shader/execution/sin.bin": "a9ed8361",
"webgpu/shader/execution/sinh.bin": "65ba80fc",
"webgpu/shader/execution/smoothstep.bin": "17e1e103",
"webgpu/shader/execution/sqrt.bin": "4c29a5d4",
"webgpu/shader/execution/step.bin": "aed08458",
"webgpu/shader/execution/tan.bin": "5f671594",
"webgpu/shader/execution/tanh.bin": "991e903a",
"webgpu/shader/execution/transpose.bin": "9d388797",
"webgpu/shader/execution/trunc.bin": "959fe8bc",
"webgpu/shader/execution/unpack2x16float.bin": "26e5b05e",
"webgpu/shader/execution/unpack2x16snorm.bin": "c756d8a3",
"webgpu/shader/execution/unpack2x16unorm.bin": "5257591a",
"webgpu/shader/execution/unpack4x8snorm.bin": "83fbd41a",
"webgpu/shader/execution/unpack4x8unorm.bin": "77d46acb",
"webgpu/shader/execution/unary/af_arithmetic.bin": "2edb2dc5",
"webgpu/shader/execution/unary/af_assignment.bin": "36c04bba",
"webgpu/shader/execution/pow.bin": "2c9335b",
"webgpu/shader/execution/quantizeToF16.bin": "e7dd6fbd",
"webgpu/shader/execution/radians.bin": "3ca43a87",
"webgpu/shader/execution/reflect.bin": "dcc3762f",
"webgpu/shader/execution/refract.bin": "c6ba8c35",
"webgpu/shader/execution/round.bin": "1742ceae",
"webgpu/shader/execution/saturate.bin": "50cbbb21",
"webgpu/shader/execution/sign.bin": "93accd96",
"webgpu/shader/execution/sin.bin": "331ffa54",
"webgpu/shader/execution/sinh.bin": "27c95a24",
"webgpu/shader/execution/smoothstep.bin": "fd81d31c",
"webgpu/shader/execution/sqrt.bin": "b1c78aa5",
"webgpu/shader/execution/step.bin": "a12c4f5",
"webgpu/shader/execution/tan.bin": "b9cc8186",
"webgpu/shader/execution/tanh.bin": "e9695b8",
"webgpu/shader/execution/transpose.bin": "1bbcadc0",
"webgpu/shader/execution/trunc.bin": "38e69556",
"webgpu/shader/execution/unpack2x16float.bin": "3816d509",
"webgpu/shader/execution/unpack2x16snorm.bin": "2f563588",
"webgpu/shader/execution/unpack2x16unorm.bin": "c8b7b455",
"webgpu/shader/execution/unpack4x8snorm.bin": "2621910b",
"webgpu/shader/execution/unpack4x8unorm.bin": "ff81a497",
"webgpu/shader/execution/unary/af_arithmetic.bin": "c417d110",
"webgpu/shader/execution/unary/af_assignment.bin": "4def58ea",
"webgpu/shader/execution/unary/bool_conversion.bin": "cb53bf65",
"webgpu/shader/execution/unary/f16_arithmetic.bin": "9f459fc4",
"webgpu/shader/execution/unary/f16_conversion.bin": "bf055ca9",
"webgpu/shader/execution/unary/f32_arithmetic.bin": "e15c49e7",
"webgpu/shader/execution/unary/f32_conversion.bin": "92e5069f",
"webgpu/shader/execution/unary/f16_arithmetic.bin": "3fe25197",
"webgpu/shader/execution/unary/f16_conversion.bin": "9ccbe3c1",
"webgpu/shader/execution/unary/f32_arithmetic.bin": "e675f274",
"webgpu/shader/execution/unary/f32_conversion.bin": "32312b0e",
"webgpu/shader/execution/unary/i32_arithmetic.bin": "d322b73d",
"webgpu/shader/execution/unary/i32_complement.bin": "c4e6cbb",
"webgpu/shader/execution/unary/i32_conversion.bin": "d6905a0f",
Expand Down
Loading

0 comments on commit 2e528a7

Please sign in to comment.