diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-03-17 16:03:06 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-03-17 16:03:06 -0600 |
commit | 5456f4f210defe0c4ba17a9314ba0b61334e7976 (patch) | |
tree | 6d252936484039ebbb76c2012cd3348f9b80f42b /progs/tests/Makefile | |
parent | 088c6404fcae07dec6dcf16d2cb0777aa7b446ad (diff) |
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.
Diffstat (limited to 'progs/tests/Makefile')
-rw-r--r-- | progs/tests/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
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 $@ |