#include "tgsi_platform.h"
#include "tgsi_core.h"
+#define MESA 1
+#if MESA
+#include "main/context.h"
+#include "main/macros.h"
+#include "main/colormac.h"
+#include "swrast/swrast.h"
+#include "swrast/s_context.h"
+#endif
+
#define TILE_BOTTOM_LEFT 0
#define TILE_BOTTOM_RIGHT 1
#define TILE_TOP_LEFT 2
lambdas[3] = lambda;
}
+ if (!swrast->TextureSample[unit]) {
+ _swrast_update_texture_samplers(ctx);
+ }
+
/* XXX use a float-valued TextureSample routine here!!! */
swrast->TextureSample[unit] (ctx,
ctx->Texture.Unit[unit]._Current,
lambdas[3] = lambda;
}
+ if (!swrast->TextureSample[unit]) {
+ _swrast_update_texture_samplers(ctx);
+ }
+
/* XXX use a float-valued TextureSample routine here!!! */
swrast->TextureSample[unit](
ctx,
lambdas[3] = lambda;
}
+ if (!swrast->TextureSample[unit]) {
+ _swrast_update_texture_samplers(ctx);
+ }
+
/* XXX use a float-valued TextureSample routine here!!! */
swrast->TextureSample[unit] (ctx,
ctx->Texture.Unit[unit]._Current,