pctx->create_sampler_state = fd2_sampler_state_create;
pctx->bind_sampler_states = fd2_sampler_states_bind;
pctx->create_sampler_view = fd2_sampler_view_create;
+ pctx->set_sampler_views = fd_set_sampler_views;
}
pctx->create_sampler_state = fd3_sampler_state_create;
pctx->bind_sampler_states = fd3_sampler_states_bind;
pctx->create_sampler_view = fd3_sampler_view_create;
+ pctx->set_sampler_views = fd_set_sampler_views;
}
pctx->create_sampler_state = fd4_sampler_state_create;
pctx->bind_sampler_states = fd_sampler_states_bind;
pctx->create_sampler_view = fd4_sampler_view_create;
+ pctx->set_sampler_views = fd_set_sampler_views;
}
ctx->dirty |= FD_DIRTY_VERTTEX;
}
-static void
+void
fd_set_sampler_views(struct pipe_context *pctx, unsigned shader,
unsigned start, unsigned nr,
struct pipe_sampler_view **views)
pctx->delete_sampler_state = fd_sampler_state_delete;
pctx->sampler_view_destroy = fd_sampler_view_destroy;
-
- pctx->set_sampler_views = fd_set_sampler_views;
}
unsigned shader, unsigned start,
unsigned nr, void **hwcso);
+void fd_set_sampler_views(struct pipe_context *pctx, unsigned shader,
+ unsigned start, unsigned nr,
+ struct pipe_sampler_view **views);
+
void fd_texture_init(struct pipe_context *pctx);
#endif /* FREEDRENO_TEXTURE_H_ */