Mesa (master): progs/tests: Tests more views in mipmap_comp_tests

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Tue Jul 7 18:19:40 UTC 2009


Module: Mesa
Branch: master
Commit: 9982821cdaf2205443c6297368eaab4115bf92f6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9982821cdaf2205443c6297368eaab4115bf92f6

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Sat Jul  4 07:40:34 2009 +0200

progs/tests: Tests more views in mipmap_comp_tests

---

 progs/tests/mipmap_comp_tests.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/progs/tests/mipmap_comp_tests.c b/progs/tests/mipmap_comp_tests.c
index 8f20625..080b81c 100644
--- a/progs/tests/mipmap_comp_tests.c
+++ b/progs/tests/mipmap_comp_tests.c
@@ -76,6 +76,9 @@ static struct view views[] =
    { 2, 4, "Blue, Black, White" },
    { 3, 4, "Black, White" },
    { 4, 4, "White" },
+   { 3, 3, "Black" },
+   { 2, 2, "Blue" },
+   { 1, 1, "Red" },
    { 1, 3, "Red, Blue, Black" },
    { 1, 2, "Red, Blue" },
    { 2, 3, "Blue, Black" },
@@ -85,7 +88,7 @@ static struct view views[] =
 static void
 initValues(void)
 {
-   View = 9;
+   View = 12;
    BaseLevel = 0;
    MaxLevel = 9;
    MinLod = views[View].minLod;




More information about the mesa-commit mailing list