Case: a stage-in fetch in a partial threadgroup beside a barrier, qualified on Metal

stage-in-fetch-in-a-partial-threadgroup-beside-a-barrier (case ff2af27df7f8) runs the public
fixture kernel_stage_in_groups' stage_in_neighbour as a grid of 25 threads in threadgroups of
1,024 (dispatchThreads), over a stage-in region at origin 7 of size 1,024 whose data ends at the
last thread's element, and records all 26 uint4 of its output buffer: each thread's neighbour's
attribute, threads_per_threadgroup, its grid position and its index, and the 26th uint4 untouched.

Verified: qualified on the M3 Max (apple-m3-max-macos27.0.1) by corpus-metal in job m3-max-70928,
three runs; the output's hash (835a95a8668c) equals the hash of the bytes the rationale states,
computed apart (threads_per_threadgroup reads 25, the partial threadgroup's size).
This commit is contained in:
Anees Iqbal committed 2026-11-23 04:48:01 -08:00
1 parent c6feccf773
commit a2eefc6b3d
2 files changed
+2

No files matched your search

@@ -27,6 +27,7 @@
{"acceleration_structures":[],"air_sha256":"ee193da9020a38bb7a8bfc474759edd483156ff307f2ca63f09e33b6dce29beb","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"claude:opus-5","buffers":[],"case_id":"070768f5da02c851704574d56b62b1148f0c2b98f30db60889e0f30f8544f836","compare":{"kind":"exact"},"device_buffer_arrays":[],"draw":{"instance_count":1,"primitive":"triangle","vertex_count":3,"vertex_start":0},"entry":"sixChannelBlend_copyToCanvas","execution_safety":"loop_free","function_constants":[{"bytes_b64":"AA==","index":1,"scalar_type":"bool"}],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"define-a-clipping-constant-false-and-gain-a-stage-in-location","output":{"dimensions":[1,1],"index":0,"kind":"render_target","origin":[0,0]},"rationale":"sixChannelBlend_copyToCanvas asks whether its `CLIPPING` function constant was DEFINED, and the answer gates a stage-in location: `pixelCoord` carries `air.function_constant` naming the implicit predicate `CLIPPING_DEFINED`, so a caller who supplies the constant hands the fragment three varyings and a caller who does not hands it two. The value itself is never read by the entry. These three cases run the same three texels through all three definedness arms -- not supplied, supplied false, supplied true -- and must produce the same colour, so the assertion is that the stage-in signature moves underneath a result that does not.\n\nA fragment case cannot choose its varyings, so every input texture is one texel: under the constexpr `clamp_to_edge` sampler a one-by-one texture returns that texel at any coordinate and the linear filter blends it with itself, which takes the unknown interpolated coordinates out of the derivation entirely. The colour is `multiply * content + add` with the alpha lane then overwritten by 1: 4*0.5 + 0.125, 8*0.25 + 0.0625, 0.5*2 + 1, and 2*0.75 + 0.5 = 2 discarded for the constant. Every product and sum is a dyadic rational inside binary16, so a contraction into an FMA cannot change the answer. The alpha lane is the one that names the `insertelement`: without it the target would read 2.0 rather than 1.0. The two multiplicands commute, so this case pins the addend, the alpha override and the definedness -- not which of `contentImage` and `multiplyImage` is which.\n\nThis case supplies false, so `pixelCoord` joins the stage-in layout on the strength of definedness alone -- the constant reads as off and the location appears anyway.","render_targets":[{"dimensions":[1,1],"format":"rgba16_float","index":0,"initial_bytes_b64":"zMzMzMzMzMw="}],"samplers":[],"stage":"fragment","texture_arrays":[],"textures":[{"binding":0,"bytes_b64":"ADgANABAADo=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":1,"bytes_b64":"ADAALAA8ADg=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":2,"bytes_b64":"AEQASAA4AEA=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"}],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"ee193da9020a38bb7a8bfc474759edd483156ff307f2ca63f09e33b6dce29beb","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"claude:opus-5","buffers":[],"case_id":"0e2d61640f4bf266c72768fbcdc9c2d7e5fd042de6542b41a2255abe18362329","compare":{"kind":"exact"},"device_buffer_arrays":[],"draw":{"instance_count":1,"primitive":"triangle","vertex_count":3,"vertex_start":0},"entry":"sixChannelBlend_copyToCanvas","execution_safety":"loop_free","function_constants":[{"bytes_b64":"AQ==","index":1,"scalar_type":"bool"}],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"define-a-clipping-constant-true-for-the-same-blended-texel","output":{"dimensions":[1,1],"index":0,"kind":"render_target","origin":[0,0]},"rationale":"sixChannelBlend_copyToCanvas asks whether its `CLIPPING` function constant was DEFINED, and the answer gates a stage-in location: `pixelCoord` carries `air.function_constant` naming the implicit predicate `CLIPPING_DEFINED`, so a caller who supplies the constant hands the fragment three varyings and a caller who does not hands it two. The value itself is never read by the entry. These three cases run the same three texels through all three definedness arms -- not supplied, supplied false, supplied true -- and must produce the same colour, so the assertion is that the stage-in signature moves underneath a result that does not.\n\nA fragment case cannot choose its varyings, so every input texture is one texel: under the constexpr `clamp_to_edge` sampler a one-by-one texture returns that texel at any coordinate and the linear filter blends it with itself, which takes the unknown interpolated coordinates out of the derivation entirely. The colour is `multiply * content + add` with the alpha lane then overwritten by 1: 4*0.5 + 0.125, 8*0.25 + 0.0625, 0.5*2 + 1, and 2*0.75 + 0.5 = 2 discarded for the constant. Every product and sum is a dyadic rational inside binary16, so a contraction into an FMA cannot change the answer. The alpha lane is the one that names the `insertelement`: without it the target would read 2.0 rather than 1.0. The two multiplicands commute, so this case pins the addend, the alpha override and the definedness -- not which of `contentImage` and `multiplyImage` is which.\n\nThis case supplies true, which differs from the false case only in the byte the specializer writes into the initializer. Both are defined, so both carry three varyings and both must land on the same texel.","render_targets":[{"dimensions":[1,1],"format":"rgba16_float","index":0,"initial_bytes_b64":"zMzMzMzMzMw="}],"samplers":[],"stage":"fragment","texture_arrays":[],"textures":[{"binding":0,"bytes_b64":"ADgANABAADo=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":1,"bytes_b64":"ADAALAA8ADg=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":2,"bytes_b64":"AEQASAA4AEA=","dimensions":[1,1,1],"format":"rgba16_float","role":"input","texture_type":"d2"}],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"ee76410a145eb80f84f16ba99d9626ec24ecc0b73b9e5ae733096e5fcb746c50","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"codex:gpt-5.6-sol","buffers":[{"binding":23,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAA=","role":"input"},{"binding":29,"bytes_b64":"AQAAAAEAAAABAAAABAAAAAQAAAAEAAAABAAAAAAAgD8AAAAAAQAAAAQAAAAEAAAABAAAAAQAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAABAAAAAQAAAAEAAAABAAAAAEAAAA=","role":"input"}],"case_id":"01d39d9b049c6b3f61e6258a60995089428f61c88bf67f41ef3378c6787bf6df","compare":{"kind":"exact"},"device_buffer_arrays":[{"binding":0,"elements":[{"bytes_b64":"AACAPw==","index":0,"role":"input"},{"index":1,"initial_bytes_b64":"q6urqw==","role":"in_out"},{"bytes_b64":"AABAQA==","index":2,"role":"input"}],"length":3}],"dispatch":{"grid":[1,1,1],"threads_per_threadgroup":[1,1,1]},"entry":"ArrayMultiplyTTLinking","execution_safety":"authored_bounded","function_constants":[{"bytes_b64":"AQEBAA==","index":122,"scalar_type":"u32"},{"bytes_b64":"AAAAAA==","index":123,"scalar_type":"u32"},{"bytes_b64":"AAAAAA==","index":124,"scalar_type":"u32"}],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"linked-single-unit-ArrayMultiplyTTLinking","output":{"binding":0,"element":1,"kind":"device_buffer_array_element","length":4,"offset":0},"rationale":"One invocation multiplies a 1x1 matrix pair with K equal to one. Matrix dimensions, batch counts, split counts, and NDArray extents are one; row and allocation byte strides are the exact four-byte float width, bounding every matrix and batch loop. The array declares three elements. Metal reports the third as `missing Buffer binding at index 2 for buffers.2[0]`, so every earlier observation of this case read undefined memory for it. It is authored 3.0, distinct from the 1.0 of element zero, and the written value was measured invariant under it: setting the operand pair to 2.0 and 3.0 also writes zero. This case pins the zero the linked kernel writes, not a product.","render_targets":[],"samplers":[],"stage":"kernel","texture_arrays":[],"textures":[],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[{"function":"postfixPrimaryAccumulate_4xf","module_sha256":"50fb830c51882e5677dfedbfbe225fd920156bfd24ce6860754cd79b0c234c87"},{"function":"postfixPrimaryAccumulate_f","module_sha256":"6a2e2fe77db14d35fef092efc86479b17ca7098a2c1bf0548245ddcc16de436e"},{"function":"postfixPrimary_4xf","module_sha256":"2762a71dc72ecdffdb3953dda5aab8bac59df85eaeb916fb54cf3fed4079c806"},{"function":"postfixPrimary_f","module_sha256":"aad641ec242aa24314f45ef738dfcc6dff774402d8f933b5204b67740d9910a7"},{"function":"prefixPrimary_4xf","module_sha256":"596dbee826a12de3a319be2d3530244ad65b5d7a43645423d5acd41ebe1d5d81"},{"function":"prefixPrimary_f","module_sha256":"02f0c15aa38aa83d7f539616fea75fdd3101b914592aa77a45d75f4b32941e90"},{"function":"prefixSecondary_4xf","module_sha256":"709aced9307d454c5a799d0fc7c017ad21840337560f552ba32b9e6947899fdb"},{"function":"prefixSecondary_f","module_sha256":"97c8dec579e0ad0049819b8afee1dd13198e33ab8dbf3ecbcdcfcd60468ed050"}],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"eeba2e11d014c3c35de67ec2d5e607e994f6b230d4b4afb88eb258ba8a986228","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"claude:opus-5.5","buffers":[{"binding":0,"initial_bytes_b64":"q6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6urq6s=","role":"output"}],"case_id":"ff2af27df7f8bafaf33067e96e3b4c6eb0ca2b879fb625b038da4204621f8da4","compare":{"kind":"exact"},"device_buffer_arrays":[],"dispatch":{"grid":[25,1,1],"stage_in_region":{"origin":[7,0,0],"size":[1024,1,1]},"threads_per_threadgroup":[1024,1,1]},"entry":"stage_in_neighbour","execution_safety":"loop_free","function_constants":[],"intersection_function_tables":[],"kernel_stage_inputs":[{"bytes_b64":"AABQUQMAUFEGAFBRCQBQUQwAUFEPAFBREgBQURUAUFEYAFBRGwBQUR4AUFEhAFBRJABQUScAUFEqAFBRLQBQUTAAUFEzAFBRNgBQUTkAUFE8AFBRPwBQUUIAUFFFAFBRSABQUUsAUFFOAFBRUQBQUVQAUFFXAFBRWgBQUV0AUFE=","format":"uint","location":0,"stride":4}],"name":"stage-in-fetch-in-a-partial-threadgroup-beside-a-barrier","output":{"binding":0,"kind":"buffer","length":416,"offset":0},"public_source":"crates/metal2vulkan-validation/fixtures/public/engine/kernel_stage_in_groups.ll","rationale":"A grid of 25 threads in threadgroups of 1,024 (dispatchThreads), so the one threadgroup is partial: 25 threads. Each thread stores its stage-in attribute (uint, stride 4, stepping by thread position in grid x over a stage-in region at origin 7 of size 1,024, which clamps nothing it reads) to threadgroup memory, waits at a threadgroup barrier, and writes (its next neighbour's attribute, threads_per_threadgroup, its grid position, its index in the threadgroup) to device buffer 0. Element e = 0x51500000 + 3e and the data holds elements 0 to 31, so thread x reads element 7 + x and the last thread the data's last element: out[x] = (0x51500000 + 3 (7 + (x + 1) % 25), 25, x, x) for x < 25, and the 26th uint4 keeps its 0xab bytes: nothing past the grid writes. The AIR has no loop.","render_targets":[],"samplers":[],"stage":"kernel","texture_arrays":[],"textures":[],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"eed0e3e219da7d34276334b0669f01da5569df46bdf1d21ebb9f9006291bece2","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"claude:opus-5","buffers":[],"case_id":"b3dc27b5fe5ce803bead4192310765fa73f04d31d66dd90bd33dcbdbe6ace308","compare":{"kind":"exact"},"device_buffer_arrays":[],"draw":{"instance_count":1,"primitive":"triangle","vertex_count":3,"vertex_start":0},"entry":"VSSprite::sprite_sdf_alpha_fragment","execution_safety":"loop_free","function_constants":[],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"measure-a-signed-distance-gradient-across-one-pixel","output":{"dimensions":[12,2],"index":0,"kind":"render_target","origin":[0,0]},"rationale":"sprite_sdf_alpha_fragment antialiases a signed-distance sprite by dividing the distance by the screen-space width of one distance unit, and that width is the only place `air.dfdx.f16` and `air.dfdy.f16` appear: it takes both derivatives of the sampled distance, widens them to float, and passes their length through `air.fast_sqrt.f32` and a 0.75 scale. The quotient `(sdf - 0.5 + m) / 2m` is then clamped to [0,1] and smoothstepped, so the whole fragment is a function of the sampled distance and that one derivative magnitude.\n\nA fragment case cannot choose its varyings, but it can choose the texture the varying indexes. The harness's generated vertex shader hands `float2 texCoord` the value `uv = (p+1)/2` over a fullscreen triangle, so at pixel (px,py) of a W-by-H target `uv.x` is exactly `(px+0.5)/W`. A W-wide texture under a nearest, normalized, clamp-to-edge sampler -- which this case supplies, since both samplers are runtime arguments rather than constexpr -- therefore returns texel px at pixel px. `uv.y` is the flipped `1 - (py+0.5)/H`, and this case sidesteps that entirely: every texture row is identical, so the answer does not depend on which way the vertical axis runs.\n\nThat also makes the derivative exactly authored. The distance varies only along x, so `air.dfdy.f16` must be zero and `air.dfdx.f16` is the difference across each two-pixel quad column, which every column pair here sets to 3. The magnitude is then `0.75 * sqrt(9 + 0) = 2.25`, and because that float is truncated to half before it is used, a fast square root's last-bit error cannot reach the answer: the nearest half to 2.25 is 2.25 and its neighbours are 1/512 away.\n\nEvery one of the twelve distance values is chosen so the clamped quotient is exactly 0, exactly 0.5 or exactly 1 -- never a fraction whose exactness would depend on whether the fast-math `fdiv` divides or multiplies by a reciprocal. Two of them sit exactly on the clamp boundaries: at sdf = -1.75 the numerator is exactly zero and at sdf = 2.75 it is exactly the denominator, which is where the case gets its grip on the derivative. Both are inside the band a doubled derivative would open -- a translator that measured the gradient across the whole quad rather than across one pixel would send the first to 0.25 and the second to 0.75, and the smoothstep turns those into 0.15625*alpha and 0.84375*alpha instead of 0 and alpha. The alpha texture carries a distinct sixteenth per column, so each of the twelve columns states its own arm.","render_targets":[{"dimensions":[12,2],"format":"rgba16_float","index":0,"initial_bytes_b64":"zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzM"}],"samplers":[{"address_mode":"clamp_to_edge","binding":0,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":1,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true}],"stage":"fragment","texture_arrays":[],"textures":[{"binding":0,"bytes_b64":"AMEAvADAAMIAOAC8AMAAwgDFALwAwADCAMAAvADAAMIAOAC8AMAAwgBDALwAwADCAEIAvADAAMIARgC8AMAAwsDEALwAwADCAL8AvADAAMKAQQC8AMAAwsBFALwAwADCAMEAvADAAMIAOAC8AMAAwgDFALwAwADCAMAAvADAAMIAOAC8AMAAwgBDALwAwADCAEIAvADAAMIARgC8AMAAwsDEALwAwADCAL8AvADAAMKAQQC8AMAAwsBFALwAwADC","dimensions":[12,2,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":1,"bytes_b64":"ACwAvADAAMIAMAC8AMAAwgAyALwAwADCADQAvADAAMIANQC8AMAAwgA2ALwAwADCADcAvADAAMIAOAC8AMAAwoA4ALwAwADCADkAvADAAMKAOQC8AMAAwgA6ALwAwADCACwAvADAAMIAMAC8AMAAwgAyALwAwADCADQAvADAAMIANQC8AMAAwgA2ALwAwADCADcAvADAAMIAOAC8AMAAwoA4ALwAwADCADkAvADAAMKAOQC8AMAAwgA6ALwAwADC","dimensions":[12,2,1],"format":"rgba16_float","role":"input","texture_type":"d2"}],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"eed0e3e219da7d34276334b0669f01da5569df46bdf1d21ebb9f9006291bece2","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"claude:opus-5","buffers":[],"case_id":"d0ceb73345d6c88033fb40296893b5ff717b9a95965a96ef88f8b57ed92e5969","compare":{"kind":"exact"},"device_buffer_arrays":[],"draw":{"instance_count":1,"primitive":"triangle","vertex_count":3,"vertex_start":0},"entry":"VSSprite::sprite_sdf_alpha_fragment","execution_safety":"loop_free","function_constants":[],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"measure-the-same-gradient-along-the-other-axis","output":{"dimensions":[2,16],"index":0,"kind":"render_target","origin":[0,0]},"rationale":"The companion case to `measure-a-signed-distance-gradient-across-one-pixel`, turned ninety degrees. There the sampled distance varied only along x, so `air.dfdy.f16` had to be zero and `air.dfdx.f16` carried the whole magnitude; here it varies only along y, so the two swap roles. The shader only ever uses the length of the two derivatives, so neither case can see a pure swap of the two -- both produce the same magnitude, 3, and the same 0.75 * sqrt(9) = 2.25 scale. What the pair does pin is each derivative separately: this case fails if `air.dfdy.f16` is dead, and its companion fails if `air.dfdx.f16` is, because in each the other derivative is genuinely zero and the whole magnitude rests on one call.\n\nThe harness's fullscreen vertex shader hands `texCoord` the value `uv = (p+1)/2`, whose vertical half runs opposite to the framebuffer: `uv.y` at pixel py of an H-tall target is `1 - (py+0.5)/H`, so a nearest normalized sampler over an H-tall texture reads row H-1-py. This case does not have to know which way that runs. Both textures are palindromic in y -- row r and row H-1-r are equal -- so every pixel samples the same distance and the same alpha under either convention, and each quad's two rows sample the same pair either way, which leaves the derivative unchanged in sign as well as in magnitude.\n\nThe sixteen rows step through the same arms the x case does: the clamped quotient is exactly 0, exactly 0.5 or exactly 1 at every row, never a fraction whose exactness would turn on how the fast-math `fdiv` is implemented. Row 3's distance of -1.75 makes the numerator exactly zero and row 6's 2.75 makes it exactly the denominator; a derivative measured across the whole quad instead of one pixel would open the band and move both off their clamps. The alpha texture varies along x as well as y, so the two columns state the same distance arm at two different alphas.","render_targets":[{"dimensions":[2,16],"format":"rgba16_float","index":0,"initial_bytes_b64":"zMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzA=="}],"samplers":[{"address_mode":"clamp_to_edge","binding":0,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":1,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true}],"stage":"fragment","texture_arrays":[],"textures":[{"binding":0,"bytes_b64":"AMEAvADAAMIAwQC8AMAAwgA4ALwAwADCADgAvADAAMLAxAC8AMAAwsDEALwAwADCAL8AvADAAMIAvwC8AMAAwgA4ALwAwADCADgAvADAAMIAQwC8AMAAwgBDALwAwADCgEEAvADAAMKAQQC8AMAAwsBFALwAwADCwEUAvADAAMLARQC8AMAAwsBFALwAwADCgEEAvADAAMKAQQC8AMAAwgBDALwAwADCAEMAvADAAMIAOAC8AMAAwgA4ALwAwADCAL8AvADAAMIAvwC8AMAAwsDEALwAwADCwMQAvADAAMIAOAC8AMAAwgA4ALwAwADCAMEAvADAAMIAwQC8AMAAwg==","dimensions":[2,16,1],"format":"rgba16_float","role":"input","texture_type":"d2"},{"binding":1,"bytes_b64":"gDQAvADAAMJAOAC8AMAAwgA1ALwAwADCgDgAvADAAMKANQC8AMAAwsA4ALwAwADCADYAvADAAMIAOQC8AMAAwoA2ALwAwADCQDkAvADAAMIANwC8AMAAwoA5ALwAwADCgDcAvADAAMLAOQC8AMAAwgA4ALwAwADCADoAvADAAMIAOAC8AMAAwgA6ALwAwADCgDcAvADAAMLAOQC8AMAAwgA3ALwAwADCgDkAvADAAMKANgC8AMAAwkA5ALwAwADCADYAvADAAMIAOQC8AMAAwoA1ALwAwADCwDgAvADAAMIANQC8AMAAwoA4ALwAwADCgDQAvADAAMJAOAC8AMAAwg==","dimensions":[2,16,1],"format":"rgba16_float","role":"input","texture_type":"d2"}],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[]}
{"acceleration_structures":[],"air_sha256":"eed20e1f93f8801af213f0154b63e9670b4e192f0c5bcc2ffcf98982e4457349","argument_buffer_buffers":[],"argument_buffer_intersection_function_tables":[],"argument_buffer_textures":[],"authored_by":"codex:gpt-5.6-sol","buffers":[{"binding":0,"bytes_b64":"AACAPwAAAAAAAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAPwAAgD8AAIA/AACAPwAAAAAAAAAAAAAAAAAAAAA=","role":"input"},{"binding":2,"bytes_b64":"AAAAAAIAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","role":"input"},{"binding":3,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","role":"input"}],"case_id":"c065e8c564f7c096de94a2a3fcc5c6ca08f97c401997b5aaab5c976497f21468","compare":{"kind":"exact"},"device_buffer_arrays":[],"dispatch":{"grid":[1,1,1],"threads_per_threadgroup":[1,1,1]},"entry":"ci_ubershader_tg_420__30","execution_safety":"loop_free","function_constants":[],"intersection_function_tables":[],"kernel_stage_inputs":[],"name":"visible-table-clear-slots-two-through-twenty-eight-threadgroup-primary","output":{"binding":0,"dimensions":[1,1,1],"kind":"texture","origin":[0,0,0]},"rationale":"One invocation calls visible-function-table slots 2 through 28 and receives exact float4 zero from all twenty-seven linked _uber_clear bodies. A thirty-word size table and eight explicit argument-info records keep every selector and offset in bounds; register 2 is selected. The single-invocation threadgroup executes both barriers over internal static storage and writes the linked result to the poisoned primary texel byte-exactly.","render_targets":[],"samplers":[{"address_mode":"clamp_to_edge","binding":0,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":1,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":2,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":3,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":4,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":5,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":6,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true},{"address_mode":"clamp_to_edge","binding":7,"mag_filter":"nearest","min_filter":"nearest","mip_filter":"not_mipmapped","normalized_coordinates":true}],"stage":"kernel","texture_arrays":[],"textures":[{"binding":0,"dimensions":[1,1,1],"format":"rgba32_float","initial_bytes_b64":"q6urq6urq6urq6urq6urqw==","role":"output","texture_type":"d2"},{"binding":1,"dimensions":[1,1,1],"format":"rgba32_float","initial_bytes_b64":"q6urq6urq6urq6urq6urqw==","role":"output","texture_type":"d2"},{"binding":2,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":3,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":4,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":5,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":6,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":7,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":8,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"},{"binding":9,"bytes_b64":"AAAAAAAAAAAAAAAAAAAAAA==","dimensions":[1,1,1],"format":"rgba32_float","role":"input","texture_type":"d2"}],"threadgroup_memory":[],"vertex_inputs":[],"visible_function_references":[],"visible_function_tables":[{"binding":1,"entries":[{"function":"_uber_clear","index":2,"module_sha256":"b4183ad9f6c9f759c2744b938d82b326df55fdb122996a9ea9f20154523d744a"},{"function":"_uber_clear","index":3,"module_sha256":"b4183ad9f6c9f759c2744b938d82b326df55fdb122996a9ea9f20154523d744a"},{"function":"_uber_clear","index":4,"module_sha256":"b4183ad9f6c9f759c2744b938d82b326df55fdb122996a9ea9f20154523d744a"},{"function":"_uber_clear","index":5,"module_sha256":"b4183ad9f6c9f759c2744b938d82b326df55fdb122996a9ea9f20154523d744a"},{"function":"_uber_clLine truncated
@@ -121,3 +121,4 @@
{"air_sha256":"ec5d2fc2c6128dd6f3283e6286d9034e665e8981c936b8e4959c3779098dba35","case_id":"fbc6bc590ad4146ea964419509236ce758214d8e8dacde3cf7bd8f18ee8ee934","environment":{"architecture":"aarch64","device":"Apple M3 Max","os":"26.7"},"environment_id":"apple-m3-max-macos26.7","input_sha256":"c53d0026fdd490daadde394c6d71b70c50bc115b96a21248b2b312631e596dcf","metal_output_sha256":"84da677063a3b8579ce4b67900676620461b235f144e06cb07031c6f884787dc","oracle_abi":"metal-literal-resources-v48","output_b64":"AzgHNgM5ADw=","status":"qualified"}
{"air_sha256":"ec5d2fc2c6128dd6f3283e6286d9034e665e8981c936b8e4959c3779098dba35","case_id":"fbc6bc590ad4146ea964419509236ce758214d8e8dacde3cf7bd8f18ee8ee934","environment":{"architecture":"aarch64","device":"Apple M3 Max","gpu_cores":40,"metal_toolchain":"Apple metal version 32023.922 (metalfe-32023.922.4)","os":"27.0.1","os_build":"26A434","xcode_build":"27B52"},"environment_id":"apple-m3-max-macos27.0.1","input_sha256":"c53d0026fdd490daadde394c6d71b70c50bc115b96a21248b2b312631e596dcf","metal_output_sha256":"84da677063a3b8579ce4b67900676620461b235f144e06cb07031c6f884787dc","oracle_abi":"metal-literal-resources-v49","output_b64":"AzgHNgM5ADw=","status":"qualified","timing":{"least_micros":3228,"runs":3,"total_micros":343846}}
{"air_sha256":"ec5d2fc2c6128dd6f3283e6286d9034e665e8981c936b8e4959c3779098dba35","case_id":"fbc6bc590ad4146ea964419509236ce758214d8e8dacde3cf7bd8f18ee8ee934","environment":{"architecture":"aarch64","device":"Apple M3 Max","os":"26.5.2"},"environment_id":"local-metal","input_sha256":"c53d0026fdd490daadde394c6d71b70c50bc115b96a21248b2b312631e596dcf","metal_output_sha256":"84da677063a3b8579ce4b67900676620461b235f144e06cb07031c6f884787dc","oracle_abi":"metal-literal-resources-v23","output_b64":"AzgHNgM5ADw=","status":"qualified"}
{"air_sha256":"eeba2e11d014c3c35de67ec2d5e607e994f6b230d4b4afb88eb258ba8a986228","case_id":"ff2af27df7f8bafaf33067e96e3b4c6eb0ca2b879fb625b038da4204621f8da4","environment":{"architecture":"aarch64","device":"Apple M3 Max","gpu_cores":40,"metal_toolchain":"Apple metal version 32023.922 (metalfe-32023.922.4)","os":"27.0.1","os_build":"26A434","xcode_build":"27B52"},"environment_id":"apple-m3-max-macos27.0.1","input_sha256":"4582a5ec6740ba723b753eb5cd6fa41a1a88edb8cb7df6581cf95bf1c56bb740","metal_output_sha256":"835a95a8668c2b43a62ea359b3ad8d95e5156c3e3f5260916f0e2a69ef8a028d","oracle_abi":"metal-literal-resources-v49","output_b64":"GABQURkAAAAAAAAAAAAAABsAUFEZAAAAAQAAAAEAAAAeAFBRGQAAAAIAAAACAAAAIQBQURkAAAADAAAAAwAAACQAUFEZAAAABAAAAAQAAAAnAFBRGQAAAAUAAAAFAAAAKgBQURkAAAAGAAAABgAAAC0AUFEZAAAABwAAAAcAAAAwAFBRGQAAAAgAAAAIAAAAMwBQURkAAAAJAAAACQAAADYAUFEZAAAACgAAAAoAAAA5AFBRGQAAAAsAAAALAAAAPABQURkAAAAMAAAADAAAAD8AUFEZAAAADQAAAA0AAABCAFBRGQAAAA4AAAAOAAAARQBQURkAAAAPAAAADwAAAEgAUFEZAAAAEAAAABAAAABLAFBRGQAAABEAAAARAAAATgBQURkAAAASAAAAEgAAAFEAUFEZAAAAEwAAABMAAABUAFBRGQAAABQAAAAUAAAAVwBQURkAAAAVAAAAFQAAAFoAUFEZAAAAFgAAABYAAABdAFBRGQAAABcAAAAXAAAAFQBQURkAAAAYAAAAGAAAAKurq6urq6urq6urq6urq6s=","status":"qualified","timing":{"least_micros":734,"runs":3,"total_micros":883149}}