#include "st_cb_bitmap.h"
#include "tgsi/tgsi_transform.h"
#include "tgsi/tgsi_scan.h"
-#include "tgsi/tgsi_dump.h"
#include "util/u_debug.h"
struct tgsi_bitmap_transform {
/* Declare the sampler. */
tgsi_transform_sampler_decl(tctx, ctx->sampler_index);
+ /* Declare the sampler view. */
+ tgsi_transform_sampler_view_decl(tctx, ctx->sampler_index,
+ tgsi_tex_target, TGSI_RETURN_TYPE_FLOAT);
+
/* TEX tmp0, fragment.texcoord[0], texture[0], 2D; */
tgsi_transform_tex_inst(tctx,
TGSI_FILE_TEMPORARY, 0,