Known gaps: the padded-fetch cases on the RTX 5080

From the replay of the 11 padded-fetch cases on the RTX 5080 Laptop GPU (b5080 entry
xrblend2-padded-fetch-5080): the device's compiler drops the half narrowing pair of every load
(native-half-conversion), an sRGB twin's colour decoded by the device's Pow
(device-pack-conversion), and the clear and draw cases the announced stored-codes difference. The
same replay held every padded-blend row on the 5080.

(cherry picked from commit c7c5b86a956986352c078e621d25540ed598d837)
(cherry picked from commit b2c8e42d05185bcf3ca2e433ce538b098d73716a)
(cherry picked from commit b685d4a7fc5e8ae3a5b3ffab78d0cef062753df8)
This commit is contained in:
Anees Iqbal committed 2026-11-10 02:59:19 -08:00
1 parent a94263847d
commit 6fa25ee1c8
1 file changed
+11
@@ -3645,3 +3645,14 @@ padded-fetch-rgb10a2-srgb-clear-float RADV PHOENIX divergent case/reads 24576 el
padded-fetch-rgb10a2-srgb-draw-float RADV PHOENIX divergent case/reads 29590 elements differ (F32), the largest difference inf A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, after an earlier draw of the pass wrote `float` values into color 0: Metal's tile holds that draw's outputs rounded to `half` toward zero, unclamped (a value past `half`'s range infinite), and ours reads the codes that draw stored, decoded to their tile value. The difference is the one the runtime announces as `extended-range-blends-stored-codes`, which the case declares. Open: our `half` shadow of a padded attachment (`LoweringInputs::extended_shadows`, built for the extended-range forms alone), which would hold the tile's `half` through the pass.
padded-fetch-rgb10a2-srgb-load-float RADV PHOENIX divergent case/reads 11544 elements differ (F32), the largest difference 0.00048828125 A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's colour through its sRGB table, rounded to `half`, alpha its two-bit value rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`): each colour decoded by the device's `Pow` transfer, then narrowed to `half` by the device's conversion, so a colour lands a `half` step from Metal's table where the two round apart. Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-rgb10a2-srgb-load-half RADV PHOENIX divergent case/reads 11544 elements differ (F32), the largest difference 0.00048828125 A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `half4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's colour through its sRGB table, rounded to `half`, alpha its two-bit value rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`): each colour decoded by the device's `Pow` transfer, then narrowed to `half` by the device's conversion, so a colour lands a `half` step from Metal's table where the two round apart. Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-r10x6-clear-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 8192 elements differ (F32), the largest difference 0.0004068911075592041 A fragment function reads `R10Unorm_X6` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, the attachment cleared to (0.33371, -0.25, 1.25, 0.2): Metal's tile holds the clear colour's `half`s as they are, unclamped and not taken to codes, and ours reads the codes the clear stored (each channel clamped to `[0, 1]` and taken to its code), decoded to their tile value. The difference is the one the runtime announces as `extended-range-blends-stored-codes`, which the case declares. Open: our `half` shadow of a padded attachment (`LoweringInputs::extended_shadows`, built for the extended-range forms alone), which would hold the tile's `half` through the pass.
padded-fetch-r10x6-draw-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 8184 elements differ (F32), the largest difference inf A fragment function reads `R10Unorm_X6` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, after an earlier draw of the pass wrote `float` values into color 0: Metal's tile holds that draw's outputs rounded to `half` toward zero, unclamped (a value past `half`'s range infinite), and ours reads the codes that draw stored, decoded to their tile value. The difference is the one the runtime announces as `extended-range-blends-stored-codes`, which the case declares. Open: our `half` shadow of a padded attachment (`LoweringInputs::extended_shadows`, built for the extended-range forms alone), which would hold the tile's `half` through the pass.
padded-fetch-r10x6-load-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 8176 elements differ (F32), the largest difference 0.00024390220642089844 A fragment function reads `R10Unorm_X6` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's value `c / 1023` rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`), narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the code's `float`, not its `half` (first difference: Metal 0x3a802000, ours 0x3a802008). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-r10x6-load-half NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 8176 elements differ (F32), the largest difference 0.00024390220642089844 A fragment function reads `R10Unorm_X6` color 0 through a `half4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's value `c / 1023` rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`), narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the code's `float`, not its `half` (first difference: Metal 0x3a802000, ours 0x3a802008). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-r10x6-srgb-load-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 8176 elements differ (F32), the largest difference 0.00043892860412597656 A fragment function reads `R10Unorm_X6_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's colour through its sRGB table, rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`): each colour decoded by the device's `Pow` transfer, then narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the decoded `float`, not its `half` (first difference: Metal 0x00000000, ours 0x389eab3c). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-rg10x12-load-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 16352 elements differ (F32), the largest difference 0.00024390220642089844 A fragment function reads `RG10Unorm_X12` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's value `c / 1023` rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`), narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the code's `float`, not its `half` (first difference: Metal 0x3b404000, ours 0x3b40300c). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-rg10x12-srgb-load-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 16352 elements differ (F32), the largest difference 0.00024390220642089844 A fragment function reads `RG10Unorm_X12_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's value `c / 1023` rounded to `half` (this sRGB twin's codes read linearly, as Metal reads them), and ours is the tile value of the codes (`extended_range::tile_value`), narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the code's `float`, not its `half` (first difference: Metal 0x3b404000, ours 0x3b40300c). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-rgb10a2-srgb-clear-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 32768 elements differ (F32), the largest difference 0.25 A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, the attachment cleared to (0.33371, -0.25, 1.25, 0.2): Metal's tile holds the clear colour's `half`s as they are, unclamped and not taken to codes, and ours reads the codes the clear stored (each channel clamped to `[0, 1]` and taken to its code, an sRGB colour through the device's encode), decoded to their tile value. The difference is the one the runtime announces as `extended-range-blends-stored-codes`, which the case declares. Open: our `half` shadow of a padded attachment (`LoweringInputs::extended_shadows`, built for the extended-range forms alone), which would hold the tile's `half` through the pass.
padded-fetch-rgb10a2-srgb-draw-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 31872 elements differ (F32), the largest difference inf A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, after an earlier draw of the pass wrote `float` values into color 0: Metal's tile holds that draw's outputs rounded to `half` toward zero, unclamped (a value past `half`'s range infinite), and ours reads the codes that draw stored, decoded to their tile value. The difference is the one the runtime announces as `extended-range-blends-stored-codes`, which the case declares. Open: our `half` shadow of a padded attachment (`LoweringInputs::extended_shadows`, built for the extended-range forms alone), which would hold the tile's `half` through the pass.
padded-fetch-rgb10a2-srgb-load-float NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 28624 elements differ (F32), the largest difference 0.00043892860412597656 A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `float4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's colour through its sRGB table, rounded to `half`, alpha its two-bit value rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`): each colour decoded by the device's `Pow` transfer, then narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the decoded `float`, not its `half` (first difference: Metal 0x39800000, ours 0x396e00da). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
padded-fetch-rgb10a2-srgb-load-half NVIDIA GeForce RTX 5080 Laptop GPU divergent case/reads 28624 elements differ (F32), the largest difference 0.00043892860412597656 A fragment function reads `RGB10A2Unorm_sRGB` color 0 through a `half4` `[[color(0)]]` input and writes what it read to an `RGBA32Float` color 1, over every code of the format loaded into the attachment: Metal reads each code's colour through its sRGB table, rounded to `half`, alpha its two-bit value rounded to `half`, and ours is the tile value of the codes (`extended_range::tile_value`): each colour decoded by the device's `Pow` transfer, then narrowed to `half` by the device's conversion; this device's compiler drops that narrowing pair here (`narrow::converted` documents NVIDIA's and lavapipe's compilers dropping it), so the read is the decoded `float`, not its `half` (first difference: Metal 0x39800000, ours 0x396e00da). Under the native-arithmetic contract the device's conversions are the answer: `device-pack-conversion` and `native-half-conversion` (in `replay::NATIVE_NOTES`) record them, and validation derives no tolerance from them. Open: nothing.
Can't render this file because it is too large.