diff options
Diffstat (limited to 'tests/shaders/built-in-constants.c')
-rw-r--r-- | tests/shaders/built-in-constants.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shaders/built-in-constants.c b/tests/shaders/built-in-constants.c index df5fa2a84..304073c6b 100644 --- a/tests/shaders/built-in-constants.c +++ b/tests/shaders/built-in-constants.c @@ -557,7 +557,7 @@ piglit_init(int argc, char **argv) for (i = 0; i < num_tests; i++) { bool subtest_pass = true; - const char *comparitor = + const char *comparator = parse_str(tests[i].name, "gl_Min", NULL) ? "<=" : ">="; /* Generate the uniform declaration for the test. This will @@ -565,7 +565,7 @@ piglit_init(int argc, char **argv) */ snprintf(uniform, sizeof(uniform), uniform_template, - tests[i].name, comparitor, tests[i].minimum); + tests[i].name, comparator, tests[i].minimum); /* Try to compile the vertex shader. */ |