upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authordcastell1 <dcastell1@users.noreply.github.com>2026-11-22 15:04:19 +0100
committerdcastell1 <dcastell1@users.noreply.github.com>2026-11-22 15:04:19 +0100
commit5bf70ece68df40172389d4ba34506d7d12623213 (patch)
tree5360fbe528d06f883ce8470d1bdff86c90f27446 /runtime/test/queue_proxy_test.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
translator: refuse a .s with no tab-indented instructions
parse_file reads tab-indented instruction lines only, so a hand-written or re-indented .s parses to an empty shader. That used to translate to a module that passes spirv-val, lands in index.json and does no work at all: the CLI printed "1 shaders: 1 translated, 1 pass spirv-val" for a file whose only line was a comment. Refuse it in translate() with "no instructions (nothing tab-indented?)", so it is reported like any other unsupported shader and no .spv is published. Found while writing a fixture with spaces instead of tabs; the new test uses that exact shape.
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions