summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-02-15 23:00:26 +0100
committerMatthias Hopf <mhopf@suse.de>2009-02-16 14:09:33 +0100
commit68558ab6547b9190eed270f02bb5a13746435a7c (patch)
treefbcc35e940e3cc09e82a1a8b7e7b58a96c1c65f7
parent903a1f0d69c8f31082655a50a45b59e3386bd0f1 (diff)
Move temporary test to r600_tmp.c
-rw-r--r--Makefile2
-rw-r--r--r600_texture.c7
-rw-r--r--r600_tmp.c42
3 files changed, 43 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 32e478a..b7f8cf1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ INCLUDES=-I/usr/include/drm
LIBS=-ldrm
CFLAGS:=-Wall -O0 -g $(INCLUDES) $(VERSION_FLAGS) $(CFLAGS)
CC=gcc
-CFILES=r600_demo.c r600_lib.c r600_basic.c r600_init.c r600_triangles.c r600_texture.c r600_pm4.c r600_exa.c r600_perf.c
+CFILES=r600_demo.c r600_lib.c r600_basic.c r600_init.c r600_triangles.c r600_texture.c r600_pm4.c r600_exa.c r600_perf.c r600_tmp.c
all: r600_demo convert_shader
diff --git a/r600_texture.c b/r600_texture.c
index b2a41b2..49f8ee1 100644
--- a/r600_texture.c
+++ b/r600_texture.c
@@ -381,10 +381,3 @@ void quad_test_tex_scaled(adapter_t *adapt)
}
-/*
- * Temporary test
- */
-
-void tmp_test(adapter_t *adapt)
-{
-}
diff --git a/r600_tmp.c b/r600_tmp.c
new file mode 100644
index 0000000..fd81415
--- /dev/null
+++ b/r600_tmp.c
@@ -0,0 +1,42 @@
+/*
+ * r600_demo
+ *
+ * Copyright (C) 2008-2009 Matthias Hopf
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/*
+ * Temporary test
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <math.h>
+#include "r600_reg.h"
+#include "r600_emit.h"
+#include "r600_lib.h"
+#include "r600_state.h"
+#include "r600_init.h"
+#include "r600_shader.h"
+
+
+void tmp_test(adapter_t *adapt)
+{
+}