static void nvc0_set_compute_resources(struct pipe_context *pipe, unsigned start, unsigned nr, struct pipe_surface **resources) { nvc0_bind_surfaces_range(nvc0_context(pipe), 1, start, nr, resources); nvc0_context(pipe)->dirty_cp |= NVC0_NEW_CP_SURFACES; }
static void nvc0_set_shader_resources(struct pipe_context *pipe, unsigned start, unsigned nr, struct pipe_surface **resources) { nvc0_bind_surfaces_range(nvc0_context(pipe), 0, start, nr, resources); nvc0_context(pipe)->dirty |= NVC0_NEW_SURFACES; }
static void nvc0_set_shader_images(struct pipe_context *pipe, unsigned shader, unsigned start_slot, unsigned count, struct pipe_image_view **views) { #if 0 nvc0_bind_surfaces_range(nvc0_context(pipe), 0, start, nr, views); nvc0_context(pipe)->dirty |= NVC0_NEW_SURFACES; #endif }