From 80301866f613960850ebd872a08e8fb03c4760c1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 21 Nov 2008 10:03:19 -0700 Subject: added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shader Fragment's red/greenb/blue is a function gl_FragCoord.xyz --- progs/glsl/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'progs/glsl/Makefile') diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index c5d62d2370d..9f5a2b7df5b 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -16,6 +16,7 @@ PROGS = \ convolutions \ deriv \ identity \ + fragcoord \ mandelbrot \ multitex \ noise \ @@ -115,6 +116,13 @@ identity: identity.o shaderutil.o $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) identity.o shaderutil.o $(LIBS) -o $@ +fragcoord.o: fragcoord.c extfuncs.h shaderutil.h + $(CC) -c -I$(INCDIR) $(CFLAGS) fragcoord.c + +fragcoord: fragcoord.o shaderutil.o + $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) fragcoord.o shaderutil.o $(LIBS) -o $@ + + mandelbrot.o: mandelbrot.c extfuncs.h shaderutil.h $(APP_CC) -c -I$(INCDIR) $(CFLAGS) mandelbrot.c -- cgit v1.2.3