Skip to content

Commit

Permalink
wgsl: Rework how input domain domains are limited (#3206)
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 authored Dec 7, 2023
1 parent 36ad3ef commit 9de46a9
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": "9ff4c694",
"webgpu/shader/execution/binary/af_addition.bin": "cbafc82c",
"webgpu/shader/execution/binary/af_logical.bin": "9ec85311",
"webgpu/shader/execution/binary/af_division.bin": "573bcb2",
"webgpu/shader/execution/binary/af_matrix_addition.bin": "b82c13e3",
"webgpu/shader/execution/binary/af_matrix_subtraction.bin": "54653771",
"webgpu/shader/execution/binary/af_multiplication.bin": "6c680224",
"webgpu/shader/execution/binary/af_remainder.bin": "e780a0c8",
"webgpu/shader/execution/binary/af_subtraction.bin": "315b6080",
"webgpu/shader/execution/binary/f16_addition.bin": "9e6f8c87",
"webgpu/shader/execution/binary/af_division.bin": "f89905b3",
"webgpu/shader/execution/binary/af_matrix_addition.bin": "3e99f56e",
"webgpu/shader/execution/binary/af_matrix_subtraction.bin": "ee161b6",
"webgpu/shader/execution/binary/af_multiplication.bin": "a22cdaa9",
"webgpu/shader/execution/binary/af_remainder.bin": "b874f4ec",
"webgpu/shader/execution/binary/af_subtraction.bin": "778e0c61",
"webgpu/shader/execution/binary/f16_addition.bin": "2d0950e3",
"webgpu/shader/execution/binary/f16_logical.bin": "1edd08ec",
"webgpu/shader/execution/binary/f16_division.bin": "99dcc71b",
"webgpu/shader/execution/binary/f16_matrix_addition.bin": "3aa70dc8",
"webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "2301ffc4",
"webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "e97285fb",
"webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "8e17ece5",
"webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "abc984c1",
"webgpu/shader/execution/binary/f16_multiplication.bin": "f8c1e34c",
"webgpu/shader/execution/binary/f16_remainder.bin": "6bbb566f",
"webgpu/shader/execution/binary/f16_subtraction.bin": "f8acc55b",
"webgpu/shader/execution/binary/f32_addition.bin": "b9dfd280",
"webgpu/shader/execution/binary/f16_division.bin": "7aefab2",
"webgpu/shader/execution/binary/f16_matrix_addition.bin": "29ac151b",
"webgpu/shader/execution/binary/f16_matrix_matrix_multiplication.bin": "3d1260a7",
"webgpu/shader/execution/binary/f16_matrix_scalar_multiplication.bin": "4bbb407c",
"webgpu/shader/execution/binary/f16_matrix_subtraction.bin": "1300adb5",
"webgpu/shader/execution/binary/f16_matrix_vector_multiplication.bin": "ca0c57ad",
"webgpu/shader/execution/binary/f16_multiplication.bin": "32d97a5f",
"webgpu/shader/execution/binary/f16_remainder.bin": "d5452448",
"webgpu/shader/execution/binary/f16_subtraction.bin": "7fed0126",
"webgpu/shader/execution/binary/f32_addition.bin": "6ba12f18",
"webgpu/shader/execution/binary/f32_logical.bin": "fab7cfc5",
"webgpu/shader/execution/binary/f32_division.bin": "5bb9f335",
"webgpu/shader/execution/binary/f32_matrix_addition.bin": "e35631d2",
"webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "b306d17",
"webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "a62498ea",
"webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "ae6edc24",
"webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "3c64a590",
"webgpu/shader/execution/binary/f32_multiplication.bin": "2ede2dcd",
"webgpu/shader/execution/binary/f32_remainder.bin": "99df37d5",
"webgpu/shader/execution/binary/f32_subtraction.bin": "dce728b3",
"webgpu/shader/execution/binary/f32_division.bin": "8e4a63bb",
"webgpu/shader/execution/binary/f32_matrix_addition.bin": "454ae6ca",
"webgpu/shader/execution/binary/f32_matrix_matrix_multiplication.bin": "8edc9ed2",
"webgpu/shader/execution/binary/f32_matrix_scalar_multiplication.bin": "eb8bab4d",
"webgpu/shader/execution/binary/f32_matrix_subtraction.bin": "438f6f2c",
"webgpu/shader/execution/binary/f32_matrix_vector_multiplication.bin": "7c60fba5",
"webgpu/shader/execution/binary/f32_multiplication.bin": "5985aa4d",
"webgpu/shader/execution/binary/f32_remainder.bin": "d03a6f99",
"webgpu/shader/execution/binary/f32_subtraction.bin": "73b6dc49",
"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": "b4140bc8",
"webgpu/shader/execution/acos.bin": "82621bf",
"webgpu/shader/execution/acosh.bin": "4166d51",
"webgpu/shader/execution/asin.bin": "3db84c59",
"webgpu/shader/execution/asinh.bin": "5aa1e7a2",
"webgpu/shader/execution/atan.bin": "de8094d",
"webgpu/shader/execution/atan2.bin": "9b5938b4",
"webgpu/shader/execution/atanh.bin": "3fa65838",
"webgpu/shader/execution/bitcast.bin": "e4e06164",
"webgpu/shader/execution/ceil.bin": "4746da0e",
"webgpu/shader/execution/clamp.bin": "56745472",
"webgpu/shader/execution/cos.bin": "e1ed11",
"webgpu/shader/execution/cosh.bin": "fbd92f9",
"webgpu/shader/execution/cross.bin": "3ade16cf",
"webgpu/shader/execution/degrees.bin": "1392cbd6",
"webgpu/shader/execution/determinant.bin": "5b562124",
"webgpu/shader/execution/distance.bin": "48c26875",
"webgpu/shader/execution/dot.bin": "784b83f1",
"webgpu/shader/execution/exp.bin": "bf0dcc36",
"webgpu/shader/execution/exp2.bin": "2a7bbe9e",
"webgpu/shader/execution/faceForward.bin": "e14093b7",
"webgpu/shader/execution/floor.bin": "7ac9dae9",
"webgpu/shader/execution/fma.bin": "172e6a74",
"webgpu/shader/execution/fract.bin": "cbe80708",
"webgpu/shader/execution/frexp.bin": "d3ce34ce",
"webgpu/shader/execution/inverseSqrt.bin": "a65b3762",
"webgpu/shader/execution/ldexp.bin": "aa39225f",
"webgpu/shader/execution/length.bin": "67457bbf",
"webgpu/shader/execution/log.bin": "1ffe589b",
"webgpu/shader/execution/log2.bin": "451a8eb8",
"webgpu/shader/execution/max.bin": "e96b1472",
"webgpu/shader/execution/min.bin": "2f429b46",
"webgpu/shader/execution/mix.bin": "2a438cc0",
"webgpu/shader/execution/modf.bin": "94a8dad4",
"webgpu/shader/execution/normalize.bin": "9deeb24e",
"webgpu/shader/execution/abs.bin": "7592c2e9",
"webgpu/shader/execution/acos.bin": "ffa331d7",
"webgpu/shader/execution/acosh.bin": "8bc525c1",
"webgpu/shader/execution/asin.bin": "c40b93d8",
"webgpu/shader/execution/asinh.bin": "83a941a2",
"webgpu/shader/execution/atan.bin": "1a597eec",
"webgpu/shader/execution/atan2.bin": "225c7bf5",
"webgpu/shader/execution/atanh.bin": "a0a50a1",
"webgpu/shader/execution/bitcast.bin": "fb5cbfe6",
"webgpu/shader/execution/ceil.bin": "9b74d951",
"webgpu/shader/execution/clamp.bin": "e21840ce",
"webgpu/shader/execution/cos.bin": "716ae7de",
"webgpu/shader/execution/cosh.bin": "2caa57a3",
"webgpu/shader/execution/cross.bin": "3cd2bb7d",
"webgpu/shader/execution/degrees.bin": "854e3b43",
"webgpu/shader/execution/determinant.bin": "e393a3d6",
"webgpu/shader/execution/distance.bin": "ab1efb22",
"webgpu/shader/execution/dot.bin": "dca4281b",
"webgpu/shader/execution/exp.bin": "229d2470",
"webgpu/shader/execution/exp2.bin": "29bcb796",
"webgpu/shader/execution/faceForward.bin": "5b501473",
"webgpu/shader/execution/floor.bin": "4c2cbe16",
"webgpu/shader/execution/fma.bin": "eb0531af",
"webgpu/shader/execution/fract.bin": "b94ef628",
"webgpu/shader/execution/frexp.bin": "5e1f6865",
"webgpu/shader/execution/inverseSqrt.bin": "d793704a",
"webgpu/shader/execution/ldexp.bin": "38e2de2e",
"webgpu/shader/execution/length.bin": "1e248428",
"webgpu/shader/execution/log.bin": "77a9e6ce",
"webgpu/shader/execution/log2.bin": "62a8591f",
"webgpu/shader/execution/max.bin": "a6e79c98",
"webgpu/shader/execution/min.bin": "8d202927",
"webgpu/shader/execution/mix.bin": "92b9d5a6",
"webgpu/shader/execution/modf.bin": "a7865848",
"webgpu/shader/execution/normalize.bin": "6060c1b7",
"webgpu/shader/execution/pack2x16float.bin": "b2cb12ea",
"webgpu/shader/execution/pow.bin": "861845e1",
"webgpu/shader/execution/quantizeToF16.bin": "cdec1b52",
"webgpu/shader/execution/radians.bin": "ff93c962",
"webgpu/shader/execution/reflect.bin": "da8f8021",
"webgpu/shader/execution/refract.bin": "918d854e",
"webgpu/shader/execution/round.bin": "314d28fe",
"webgpu/shader/execution/saturate.bin": "3eff93e8",
"webgpu/shader/execution/sign.bin": "fcc68d98",
"webgpu/shader/execution/sin.bin": "cc92b580",
"webgpu/shader/execution/sinh.bin": "751d3edb",
"webgpu/shader/execution/smoothstep.bin": "2604a849",
"webgpu/shader/execution/sqrt.bin": "100a05ab",
"webgpu/shader/execution/step.bin": "9463ab1b",
"webgpu/shader/execution/tan.bin": "8c924dc6",
"webgpu/shader/execution/tanh.bin": "c73a178",
"webgpu/shader/execution/transpose.bin": "21358779",
"webgpu/shader/execution/trunc.bin": "38d0c22e",
"webgpu/shader/execution/unpack2x16float.bin": "8138f397",
"webgpu/shader/execution/unpack2x16snorm.bin": "23d2c366",
"webgpu/shader/execution/unpack2x16unorm.bin": "ffed85bc",
"webgpu/shader/execution/unpack4x8snorm.bin": "6ac8cab7",
"webgpu/shader/execution/unpack4x8unorm.bin": "3cebb66b",
"webgpu/shader/execution/unary/af_arithmetic.bin": "e4193a8f",
"webgpu/shader/execution/unary/af_assignment.bin": "c841e6c6",
"webgpu/shader/execution/pow.bin": "9cafb208",
"webgpu/shader/execution/quantizeToF16.bin": "e9fe32d3",
"webgpu/shader/execution/radians.bin": "3de6e3e2",
"webgpu/shader/execution/reflect.bin": "ada28c0e",
"webgpu/shader/execution/refract.bin": "1bfc8954",
"webgpu/shader/execution/round.bin": "d6980b30",
"webgpu/shader/execution/saturate.bin": "ac1c87b7",
"webgpu/shader/execution/sign.bin": "8159fff8",
"webgpu/shader/execution/sin.bin": "57eef8dd",
"webgpu/shader/execution/sinh.bin": "fe8c4a10",
"webgpu/shader/execution/smoothstep.bin": "5edbb429",
"webgpu/shader/execution/sqrt.bin": "c56cd7f8",
"webgpu/shader/execution/step.bin": "5dba0cdb",
"webgpu/shader/execution/tan.bin": "a130ad0d",
"webgpu/shader/execution/tanh.bin": "3129d901",
"webgpu/shader/execution/transpose.bin": "a9009349",
"webgpu/shader/execution/trunc.bin": "7e345f71",
"webgpu/shader/execution/unpack2x16float.bin": "84d23fa6",
"webgpu/shader/execution/unpack2x16snorm.bin": "df585faa",
"webgpu/shader/execution/unpack2x16unorm.bin": "7e5b4b66",
"webgpu/shader/execution/unpack4x8snorm.bin": "fdd14e11",
"webgpu/shader/execution/unpack4x8unorm.bin": "a095fd3d",
"webgpu/shader/execution/unary/af_arithmetic.bin": "92cf0ae3",
"webgpu/shader/execution/unary/af_assignment.bin": "6345d35",
"webgpu/shader/execution/unary/bool_conversion.bin": "cb53bf65",
"webgpu/shader/execution/unary/f16_arithmetic.bin": "59fe7c00",
"webgpu/shader/execution/unary/f16_conversion.bin": "428ba8c1",
"webgpu/shader/execution/unary/f32_arithmetic.bin": "ba5faac0",
"webgpu/shader/execution/unary/f32_conversion.bin": "dd493eea",
"webgpu/shader/execution/unary/f16_arithmetic.bin": "c913cc95",
"webgpu/shader/execution/unary/f16_conversion.bin": "fd520112",
"webgpu/shader/execution/unary/f32_arithmetic.bin": "e113d162",
"webgpu/shader/execution/unary/f32_conversion.bin": "26505ced",
"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 9de46a9

Please sign in to comment.