diff options
| author | Linnard Alex Brown Jr. <labj1987@users.noreply.github.com> | 2026-11-22 11:23:54 -0500 |
|---|---|---|
| committer | Linnard Alex Brown Jr. <labj1987@users.noreply.github.com> | 2026-11-22 11:24:13 -0500 |
| commit | 03b38d84196e61993ca8b8d7e443cc6a2b314158 (patch) | |
| tree | c9325d6f9cf82294ec1be4e83831e1dafcb8fab1 /runtime/test/vk_harness.cpp | |
| parent | 6e4294befc518ecc2b1a1e23375c9449f72175cf (diff) | |
TEST-319: an RX 580 (one subgroup size, 64) is the 64-lane reference; all 24 fixtures checked on an RTX 5070 against it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/vk_harness.cpp')
| -rw-r--r-- | runtime/test/vk_harness.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp index 360a20fa7..93d331039 100644 --- a/runtime/test/vk_harness.cpp +++ b/runtime/test/vk_harness.cpp | |||
| @@ -448,7 +448,10 @@ int main(int argc, char** argv) { | |||
| 448 | stages[2].pNext = &reqSg; | 448 | stages[2].pNext = &reqSg; |
| 449 | else if (!mesh && !gs_tested && (sgProps.requiredSubgroupSizeStages & VK_SHADER_STAGE_FRAGMENT_BIT)) | 449 | else if (!mesh && !gs_tested && (sgProps.requiredSubgroupSizeStages & VK_SHADER_STAGE_FRAGMENT_BIT)) |
| 450 | stages[1].pNext = &reqSg; | 450 | stages[1].pNext = &reqSg; |
| 451 | if (stages[1].pNext == &reqSg) std::fprintf(stderr, "fragment subgroup size: %u\n", req_sg); | 451 | // A device with one subgroup size runs every stage at it, required or not (AMD GCN: 64, with only COMPUTE |
| 452 | // in requiredSubgroupSizeStages), so the fragment stage of a plain draw already has the size asked for. | ||
| 453 | const bool fixed = !mesh && !gs_tested && sgProps.minSubgroupSize == sgProps.maxSubgroupSize; | ||
| 454 | if (stages[1].pNext == &reqSg || fixed) std::fprintf(stderr, "fragment subgroup size: %u\n", req_sg); | ||
| 452 | } else if (req_sg > 0) { | 455 | } else if (req_sg > 0) { |
| 453 | std::fprintf(stderr, "fragment subgroup size: %u not available\n", req_sg); | 456 | std::fprintf(stderr, "fragment subgroup size: %u not available\n", req_sg); |
| 454 | } | 457 | } |