• Dylan Baker's avatar
    outerproduct_tests: generate tests · e04844c7
    Dylan Baker authored
    This replaces outerProduct.sh and outerProduct-const.sh with a single
    python generator run at build time. This removes a significant amount of
    duplicate code that is otherwise checked into git, combines two
    generators that are largely the same, and being written in mako is
    easier to read and edit.
    
    v2: - fix some typos in a generated comment
        - preserve newline between probe and next uniform
        - fix a few other minor whitespace problems
    Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
    Acked-by: Kenneth Graunke (semi-AFK still)'s avatarKenneth Graunke <kenneth@whitecape.org>
    e04844c7
gen_outerproduct_template.mako 4.42 KB