diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-20 16:53:19 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-20 16:53:19 -0700 |
commit | 96a7359b256ff18e394aea77c4ebaf4a204e05bd (patch) | |
tree | 6f61b732db93f452a6e8940d674113bc9047d07d | |
parent | ed7beb28461bc76e467ccfa29af6a1729b726c1e (diff) |
some debug output
-rw-r--r-- | tests/gles2_uniform_arrays.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gles2_uniform_arrays.cpp b/tests/gles2_uniform_arrays.cpp index 0ae79c4a..b6be5348 100644 --- a/tests/gles2_uniform_arrays.cpp +++ b/tests/gles2_uniform_arrays.cpp @@ -58,6 +58,7 @@ void RunTest(int testVariant) // so to exhibit extra issues in old code (and to keep new code from regressing), must test both with and without excess glGetUniformLocation calls. if ((testVariant&1) != 0) { + printf("check glGetUniformLocation with indexes\n"); // Deliberately check in odd order to make sure any kind of lazy operations won't affect the indices we get. assert(glGetUniformLocation(program, "colors[2]") == loc+2); assert(glGetUniformLocation(program, "colors[0]") == loc); @@ -66,6 +67,7 @@ void RunTest(int testVariant) assert(glGetUniformLocation(program, "colors[]") == loc); assert(glGetUniformLocation(program, "colors[-100]") == -1); assert(glGetUniformLocation(program, "colors[bleh]") == -1); + printf(" ...ok\n"); } float colors[4*3] = { 1,0,0, 0,0.5,0, 0,0,0.2, 1,1,1 }; |