From 5456f4f210defe0c4ba17a9314ba0b61334e7976 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 17 Mar 2008 16:03:06 -0600 Subject: mesa: new mipmap generation, lod bias demo Show each of the mipmap levels side-by-side. Press 's' to toggle quad scaling to see mipmap level at actual size. --- progs/tests/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'progs/tests/Makefile') diff --git a/progs/tests/Makefile b/progs/tests/Makefile index 7053ebc86a..ea34a70855 100644 --- a/progs/tests/Makefile +++ b/progs/tests/Makefile @@ -51,6 +51,7 @@ SOURCES = \ manytex.c \ minmag.c \ mipmap_limits.c \ + mipmap_view.c \ multipal.c \ no_s3tc.c \ packedpixels.c \ @@ -158,6 +159,14 @@ invert: invert.o readtex.o invert.o: invert.c readtex.h $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ +mipmap_view: mipmap_view.o readtex.o + $(CC) $(CFLAGS) mipmap_view.o readtex.o $(LIBS) -o $@ + +mipmap_view.o: mipmap_view.c readtex.h + $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ + + + readtex.o: readtex.c $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@ -- cgit v1.2.3