$ gradle build
$ java -jar build/libs/glsl-on-cpu-${VERSION}.jar -h
usage: glsl-on-cpu
-a,--dump-ast Dump debugging AST
-h,--help Helping info
-i,--input <arg> Input file path
-v,--verbose Print verbose scope and function information
$ java -jar build/libs/glsl-on-cpu-${VERSION}.jar -i ${PATH_TO_INPUT_FILE}
title and author | snapshot | reference |
---|---|---|
\ | yes 0, 4, 7, 5, 2, 6, 1, 3, |
8_queens.fs 8_queens.c |
"Pikachu" by nyri0@shadertoy | pikachu.fs rendering_main.cc |
|
"The Drive Home" by Martijn Steinrucken aka BigWings | drive.fs rendering_main.cc |
- comma expression
- macro
- postfix increment/decrement
- switch
- uniform, texture, etc (rendering pipeline related)
- built-in functions (
mix
,fract
, etc)
- in-line structure definition
- extern "C" and demangling