diff options
author | Brian Paul <brianp@vmware.com> | 2015-07-10 13:02:33 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2015-07-22 10:53:38 -0600 |
commit | 64c4a7057296bfd00ee15d181ecdffc80776036d (patch) | |
tree | 454a9230892f2ce270ddff701d3ded78045631d0 | |
parent | 9243dab81533ef04591cd1d78c130e4a1995f1ed (diff) |
tex3d-maxsize: print max 3D texture size that's found/tested
-rw-r--r-- | tests/texturing/tex3d-maxsize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/texturing/tex3d-maxsize.c b/tests/texturing/tex3d-maxsize.c index 114ccb606..e168d1471 100644 --- a/tests/texturing/tex3d-maxsize.c +++ b/tests/texturing/tex3d-maxsize.c @@ -119,6 +119,10 @@ piglit_display(void) width = height = depth = 0; find_max_tex3d_size(maxsize, &width, &height, &depth); + printf("Max 3D texture size: %d x %d x %d\n", + width, height, depth); + fflush(stdout); + glTexImage3D(GL_TEXTURE_3D, 0, GL_RGBA8, width, height, depth, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); err = glGetError(); |