diff options
| author | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 01:10:59 +0100 |
|---|---|---|
| committer | Tomgamer <tomanhorak22@gmail.com> | 2026-11-22 01:10:59 +0100 |
| commit | f054ef9e43f19cce4c1dbc150d38223dfdf9ca8c (patch) | |
| tree | 5c4b1949eedab39727f8577c04872f9e0eaff994 /runtime/test/vk_harness.cpp | |
| parent | 06bd42a20e1dd1d07309586abddca870131943f5 (diff) | |
vk_harness: fix the Float64 unsupported message (a raw newline had split the string literal)
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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/test/vk_harness.cpp b/runtime/test/vk_harness.cpp index 1dd6d196b..4adde1b41 100644 --- a/runtime/test/vk_harness.cpp +++ b/runtime/test/vk_harness.cpp | |||
| @@ -263,8 +263,10 @@ int main(int argc, char** argv) { | |||
| 263 | feats.shaderClipDistance = f2q.features.shaderClipDistance; | 263 | feats.shaderClipDistance = f2q.features.shaderClipDistance; |
| 264 | feats.shaderCullDistance = f2q.features.shaderCullDistance; | 264 | feats.shaderCullDistance = f2q.features.shaderCullDistance; |
| 265 | if (needs_float64) { | 265 | if (needs_float64) { |
| 266 | if (!f2q.features.shaderFloat64) { std::fprintf(stderr, "unsupported: %s uses Float64 and the device has no shaderFloat64 | 266 | if (!f2q.features.shaderFloat64) { |
| 267 | ", argv[2]); return 77; } | 267 | std::fprintf(stderr, "unsupported: %s uses Float64 and the device has no shaderFloat64\n", argv[2]); |
| 268 | return 77; | ||
| 269 | } | ||
| 268 | feats.shaderFloat64 = VK_TRUE; | 270 | feats.shaderFloat64 = VK_TRUE; |
| 269 | } | 271 | } |
| 270 | if (heap_env) { | 272 | if (heap_env) { |