Add #if DEBUG_FRAG in s_nvfragprog.c
c->Base.Config = conf;
c->Base.DrawSurface = EGL_NO_SURFACE;
c->Base.ReadSurface = EGL_NO_SURFACE;
- printf("fbCreateContext\n");
/* generate handle and insert into hash table */
_eglSaveContext(&c->Base);
} else
_mesa_make_current( NULL, NULL, NULL );
- printf("eglMakeCurrent()\n");
return EGL_TRUE;
}
fetch_texel( ctx, texcoord,
span->array->lambda[inst->TexSrcUnit][column],
inst->TexSrcUnit, color );
+#if DEBUG_FRAG
if (color[3])
printf("color[3] = %f\n", color[3]);
+#endif
store_vector4( inst, machine, color );
}
break;