diff options
author | Brian Paul <[email protected]> | 2008-11-21 10:03:19 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-21 10:04:37 -0700 |
commit | c45c5c4ca42c29ab73e89449a41a843c24fbe159 (patch) | |
tree | a8dd0ad0eb7783be0daa92d116b4d6bc53c31961 /progs/glsl/Makefile | |
parent | 3e0164aabb48a99fce58964cad99fd3978ee84f6 (diff) |
added progs/demos/fragcoord.c - tests gl_FragCoord attribute in fragment shader
Fragment's red/greenb/blue is a function gl_FragCoord.xyz
Diffstat (limited to 'progs/glsl/Makefile')
-rw-r--r-- | progs/glsl/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/glsl/Makefile b/progs/glsl/Makefile index 41d58499195..7c3e750882f 100644 --- a/progs/glsl/Makefile +++ b/progs/glsl/Makefile @@ -15,6 +15,7 @@ PROGS = \ bump \ convolutions \ deriv \ + fragcoord \ mandelbrot \ multitex \ noise \ @@ -106,6 +107,13 @@ deriv: deriv.o shaderutil.o $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) deriv.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 $(CC) -c -I$(INCDIR) $(CFLAGS) mandelbrot.c |