diff options
author | Connor Abbott <[email protected]> | 2014-05-27 21:23:03 -0400 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-05-28 15:06:16 -0700 |
commit | 6e24111b9c96788d9d2a64d7b1c7292cc99d2c38 (patch) | |
tree | e540c4f3677c40e5ee60b2538084dff8fdc7773d /src | |
parent | bbaec0f76c714a369014a47cca588fa3c2c9ce1e (diff) |
glsl/tests/lower_jumps: fix generated sexpr's for loops
In 088494aa (as well as other commits in the series) Paul Berry modified
the tests for lower_jumps to account for the fact that the s-expression
for the loop IR instruction changed from
(loop () () () () (statements...)) to (loop (statements...)), but he
forgot to update create_test_cases.py which he used to create the tests.
Fix that, so that now create_test_cases.py is synced with the generated
tests.
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/tests/lower_jumps/create_test_cases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/tests/lower_jumps/create_test_cases.py b/src/glsl/tests/lower_jumps/create_test_cases.py index 9974681e02f..3be1079bc14 100644 --- a/src/glsl/tests/lower_jumps/create_test_cases.py +++ b/src/glsl/tests/lower_jumps/create_test_cases.py @@ -126,7 +126,7 @@ def loop(statements): body. """ check_sexp(statements) - return [['loop', [], [], [], [], statements]] + return [['loop', statements]] def declare_temp(var_type, var_name): """Create a declaration of the form |