static void
dd_context_set_shader_images(struct pipe_context *_pipe, unsigned shader,
unsigned start, unsigned num,
- struct pipe_image_view *views)
+ const struct pipe_image_view *views)
{
struct dd_context *dctx = dd_context(_pipe);
struct pipe_context *pipe = dctx->pipe;
static void
ilo_set_shader_images(struct pipe_context *pipe, unsigned shader,
unsigned start, unsigned count,
- struct pipe_image_view *views)
+ const struct pipe_image_view *views)
{
#if 0
struct ilo_state_vector *vec = &ilo_context(pipe)->state_vector;
static bool
nvc0_bind_images_range(struct nvc0_context *nvc0, const unsigned s,
unsigned start, unsigned nr,
- struct pipe_image_view *pimages)
+ const struct pipe_image_view *pimages)
{
const unsigned end = start + nr;
unsigned mask = 0;
static void
nvc0_set_shader_images(struct pipe_context *pipe, unsigned shader,
unsigned start, unsigned nr,
- struct pipe_image_view *images)
+ const struct pipe_image_view *images)
{
const unsigned s = nvc0_shader_stage(shader);
if (!nvc0_bind_images_range(nvc0_context(pipe), s, start, nr, images))
}
static void
-si_mark_image_range_valid(struct pipe_image_view *view)
+si_mark_image_range_valid(const struct pipe_image_view *view)
{
struct r600_resource *res = (struct r600_resource *)view->resource;
const struct util_format_description *desc;
static void si_set_shader_image(struct si_context *ctx,
unsigned shader,
- unsigned slot, struct pipe_image_view *view)
+ unsigned slot, const struct pipe_image_view *view)
{
struct si_screen *screen = ctx->screen;
struct si_images_info *images = &ctx->images[shader];
static void
si_set_shader_images(struct pipe_context *pipe, unsigned shader,
unsigned start_slot, unsigned count,
- struct pipe_image_view *views)
+ const struct pipe_image_view *views)
{
struct si_context *ctx = (struct si_context *)pipe;
unsigned i, slot;
unsigned shader,
unsigned start,
unsigned num,
- struct pipe_image_view *images)
+ const struct pipe_image_view *images)
{
struct softpipe_context *softpipe = softpipe_context(pipe);
unsigned i;
static void trace_context_set_shader_images(struct pipe_context *_context,
unsigned shader,
unsigned start, unsigned nr,
- struct pipe_image_view *images)
+ const struct pipe_image_view *images)
{
struct trace_context *tr_context = trace_context(_context);
struct pipe_context *context = tr_context->pipe;
*/
void (*set_shader_images)(struct pipe_context *, unsigned shader,
unsigned start_slot, unsigned count,
- struct pipe_image_view *images);
+ const struct pipe_image_view *images);
void (*set_vertex_buffers)( struct pipe_context *,
unsigned start_slot,