summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/tests/graw
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:22:51 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2016-05-29 10:22:51 +0000
commitc9223eed3c16cd3e98a8f56dda953d8f299de0e3 (patch)
tree53e2a1c3f13bcf6b4ed201d7bc135e7213c94ebe /lib/mesa/src/gallium/tests/graw
parent6e8f2d062ab9c198239b9283b2b7ed12f4ea17d8 (diff)
Import Mesa 11.2.2
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw')
-rw-r--r--lib/mesa/src/gallium/tests/graw/clear.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/fs-test.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/graw_util.h3
-rw-r--r--lib/mesa/src/gallium/tests/graw/gs-test.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/quad-sample.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/shader-leak.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/tri-gs.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/tri-instanced.c2
-rw-r--r--lib/mesa/src/gallium/tests/graw/vs-test.c2
9 files changed, 10 insertions, 9 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/clear.c b/lib/mesa/src/gallium/tests/graw/clear.c
index f38da4740..533ce9f58 100644
--- a/lib/mesa/src/gallium/tests/graw/clear.c
+++ b/lib/mesa/src/gallium/tests/graw/clear.c
@@ -61,7 +61,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/fs-test.c b/lib/mesa/src/gallium/tests/graw/fs-test.c
index fc5803fd3..bd5259afe 100644
--- a/lib/mesa/src/gallium/tests/graw/fs-test.c
+++ b/lib/mesa/src/gallium/tests/graw/fs-test.c
@@ -398,7 +398,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/graw_util.h b/lib/mesa/src/gallium/tests/graw/graw_util.h
index e7cd0aa3a..3c7dbd061 100644
--- a/lib/mesa/src/gallium/tests/graw/graw_util.h
+++ b/lib/mesa/src/gallium/tests/graw/graw_util.h
@@ -9,6 +9,7 @@
#include "util/u_box.h"
#include "util/u_debug.h"
+#include "util/u_debug_image.h"
#include "util/u_draw_quad.h"
#include "util/u_format.h"
#include "util/u_inlines.h"
@@ -60,7 +61,7 @@ graw_util_create_window(struct graw_info *info,
return FALSE;
}
- info->ctx = info->screen->context_create(info->screen, NULL);
+ info->ctx = info->screen->context_create(info->screen, NULL, 0);
if (info->ctx == NULL) {
debug_printf("graw: Failed to create context\n");
return FALSE;
diff --git a/lib/mesa/src/gallium/tests/graw/gs-test.c b/lib/mesa/src/gallium/tests/graw/gs-test.c
index b685323fe..c680b62ea 100644
--- a/lib/mesa/src/gallium/tests/graw/gs-test.c
+++ b/lib/mesa/src/gallium/tests/graw/gs-test.c
@@ -505,7 +505,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/quad-sample.c b/lib/mesa/src/gallium/tests/graw/quad-sample.c
index 2953fe16a..97f241ff8 100644
--- a/lib/mesa/src/gallium/tests/graw/quad-sample.c
+++ b/lib/mesa/src/gallium/tests/graw/quad-sample.c
@@ -313,7 +313,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/shader-leak.c b/lib/mesa/src/gallium/tests/graw/shader-leak.c
index 3c585c0a5..a4502afff 100644
--- a/lib/mesa/src/gallium/tests/graw/shader-leak.c
+++ b/lib/mesa/src/gallium/tests/graw/shader-leak.c
@@ -188,7 +188,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/tri-gs.c b/lib/mesa/src/gallium/tests/graw/tri-gs.c
index 5c6f426e9..6aad51c94 100644
--- a/lib/mesa/src/gallium/tests/graw/tri-gs.c
+++ b/lib/mesa/src/gallium/tests/graw/tri-gs.c
@@ -195,7 +195,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/tri-instanced.c b/lib/mesa/src/gallium/tests/graw/tri-instanced.c
index a71bf71b6..2065c11f6 100644
--- a/lib/mesa/src/gallium/tests/graw/tri-instanced.c
+++ b/lib/mesa/src/gallium/tests/graw/tri-instanced.c
@@ -246,7 +246,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);
diff --git a/lib/mesa/src/gallium/tests/graw/vs-test.c b/lib/mesa/src/gallium/tests/graw/vs-test.c
index 5189d815f..5c7843eb1 100644
--- a/lib/mesa/src/gallium/tests/graw/vs-test.c
+++ b/lib/mesa/src/gallium/tests/graw/vs-test.c
@@ -392,7 +392,7 @@ static void init( void )
exit(1);
}
- ctx = screen->context_create(screen, NULL);
+ ctx = screen->context_create(screen, NULL, 0);
if (ctx == NULL)
exit(3);