Lines Matching refs:MAX_RESOURCES
43 #define MAX_RESOURCES 4 macro
50 void *hwsmp[MAX_RESOURCES];
51 struct pipe_resource *tex[MAX_RESOURCES];
52 bool tex_rw[MAX_RESOURCES];
53 struct pipe_sampler_view *view[MAX_RESOURCES];
54 struct pipe_surface *surf[MAX_RESOURCES];
297 for (i = 0; i < MAX_RESOURCES; ++i) { in destroy_tex()
326 pipe->set_sampler_views(pipe, PIPE_SHADER_COMPUTE, 0, MAX_RESOURCES, NULL); in destroy_sampler_views()
328 for (i = 0; i < MAX_RESOURCES; ++i) { in destroy_sampler_views()
363 pipe->set_compute_resources(pipe, 0, MAX_RESOURCES, NULL); in destroy_compute_resources()
365 for (i = 0; i < MAX_RESOURCES; ++i) { in destroy_compute_resources()
395 0, MAX_RESOURCES, NULL); in destroy_sampler_states()
397 for (i = 0; i < MAX_RESOURCES; ++i) { in destroy_sampler_states()
409 struct pipe_resource *res[MAX_RESOURCES]; in init_globals()
422 pipe->set_global_binding(pipe, 0, MAX_RESOURCES, NULL, NULL); in destroy_globals()