• Paul Berry's avatar
    glsl: Add unit tests for lower_jumps.cpp · 659cdedb
    Paul Berry authored
    These tests invoke do_lower_jumps() in isolation (using the glsl_test
    executable) and verify that it transforms the IR in the expected way.
    
    The unit tests may be run from the top level directory using "make
    check".
    
    For reference, I've also checked in the Python script
    create_test_cases.py, which was used to generate these tests.  It is
    not necessary to run this script in order to run the tests.
    Acked-by: chadversary's avatarChad Versace <chad@chad-versace.us>
    659cdedb
Makefile 5.49 KB