Home
last modified time | relevance | path

Searched refs:MAX_RESOURCES (Results 1 – 5 of 5) 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.c36 #define MAX_RESOURCES 16 macro
51 static amdgpu_bo_handle resources[MAX_RESOURCES];
Dvcn_tests.c37 #define MAX_RESOURCES 16 macro
71 static amdgpu_bo_handle resources[MAX_RESOURCES];
Duvd_enc_tests.c38 #define MAX_RESOURCES 16 macro
70 static amdgpu_bo_handle resources[MAX_RESOURCES];
Dvce_tests.c39 #define MAX_RESOURCES 16 macro
81 static amdgpu_bo_handle resources[MAX_RESOURCES];