quakeforge/tools/qfcc
Bill Currie 99b1859aac [qfcc] Parse the spirv grammar json files
I really don't like the way they're included (I'm really looking forward
to #embed, but gotta wait for gcc 15), and I'm a tad grumpy that the
documentation for them
(https://registry.khronos.org/SPIR-V/specs/unified1/MachineReadableGrammar.html)
is wrong (missing fields), but I think I like the result.

The grammars (core and glsl.std.450) are parsed into structs that should
be fairly easy to interpret: the instructions, kinds, and enumerant
values are sorted by name for search with bsearch. Having the data
parsed in means source code can refer to the items by name rather than
magic numbers, which will be very nice for intrinsics and image types
(and probably a few other things).
2025-01-07 03:26:12 +09:00
..
doc [qfcc] Update doc for recent lyx 2024-08-11 20:46:55 +09:00
include [qfcc] Parse the spirv grammar json files 2025-01-07 03:26:12 +09:00
source [qfcc] Parse the spirv grammar json files 2025-01-07 03:26:12 +09:00
test [qfcc] Make the GA tests a little easier to "use" 2024-12-07 02:52:10 +09:00
AUTHORS more mailing list corrections 2003-07-12 21:50:22 +00:00
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
TODO [qfcc] Add some TODO items 2024-08-12 08:51:39 +09:00