Commit f1862c32 authored by Brian Paul's avatar Brian Paul
Browse files

getactiveattrib: fix jumbled for-loop test


Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 08a57220
......@@ -507,7 +507,7 @@ do_test(const struct test *tests, unsigned num_tests)
visited_count[attr_idx]++;
}
for (j = 0; j < tests[i].attributes[j].name != NULL; j++) {
for (j = 0; tests[i].attributes[j].name != NULL; j++) {
if (tests[i].attributes[j].must_be_active
&& visited_count[j] == 0) {
DUMP_SHADER(tests[i].code);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment