Home
last modified time | relevance | path

Searched refs:MAX_RESOURCES (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/tests/trivial/
Dcompute.c43 #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()
[all …]
/external/libdrm/tests/amdgpu/
Dcs_tests.c40 #define MAX_RESOURCES 16 macro
55 static amdgpu_bo_handle resources[MAX_RESOURCES];
Dvce_tests.c43 #define MAX_RESOURCES 16 macro
77 static amdgpu_bo_handle resources[MAX_RESOURCES];