internal/rosa/package: migrate spirv-llvm-translator

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 00:01:03 +09:00
parent bb230378e0
commit a7f5a5802d
5 changed files with 178 additions and 168 deletions

View File

@@ -516,6 +516,24 @@ func (s *S) getFrame() azalea.Frame {
return
}},
// formatting helpers
k("litArgs"): {F: func(
args azalea.FArgs,
) (v any, set bool, err error) {
var verbose bool
var skipChecks []string
if err = args.Apply(map[unique.Handle[azalea.Ident]]any{
k("verbose"): &verbose,
k("skipChecks"): &skipChecks,
}); err != nil {
return
}
v = litArgs(verbose, skipChecks...)
set = true
return
}},
// intenral/pkg built-ins
k("remoteTar"): {F: func(