author Ryan C. Gordon <>
Sat, 14 Jun 2008 22:15:40 -0400
changeset 358 f63e18cf642f
parent 357 4b267433af82
child 591 20a0ac14babf
permissions -rwxr-xr-x
Fixed MOJOSHADER_glBindProgram() for arb1 profile (thanks, Nicholas!). Forgot to actually glEnable() the GPU program functionality. Doh! Now arb1 renders...surprisingly well.


for feh in ??_?_?/*.bytecode ; do
    echo -n "$feh "
    echo -n `./testparse glsl $feh |grep "INSTRUCTION COUNT: " |perl -w -p -e 's/\AINSTRUCTION COUNT://;'`
    echo -n " vs. "
    grep "instruction slots used" `echo $feh |perl -w -p -e 's/bytecode\Z/disasm/;'` |perl -w -p -e 's#\A// approximately (\d+) instruction slots used .*?\Z#$1#;'