Home
last modified time | relevance | path

Searched refs:num_clears (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c58 unsigned num_clears, unsigned types) in si_execute_clears() argument
60 if (!num_clears) in si_execute_clears()
78 for (unsigned i = 0; i < num_clears; i++) { in si_execute_clears()
670 unsigned num_clears = 0; in si_fast_clear() local
770 assert(num_clears < ARRAY_SIZE(info)); in si_fast_clear()
772 if (!vi_dcc_get_clear_info(sctx, tex, level, reset_value, &info[num_clears])) in si_fast_clear()
775 num_clears++; in si_fast_clear()
783 assert(num_clears < ARRAY_SIZE(info)); in si_fast_clear()
784 si_init_buffer_clear(&info[num_clears++], &tex->cmask_buffer->b.b, in si_fast_clear()
869 assert(num_clears < ARRAY_SIZE(info)); in si_fast_clear()
[all …]
Dsi_texture.c1056 unsigned num_clears = 0; in si_texture_create_object() local
1060 assert(num_clears < ARRAY_SIZE(clears)); in si_texture_create_object()
1061 si_init_buffer_clear(&clears[num_clears++], &tex->cmask_buffer->b.b, in si_texture_create_object()
1071 assert(num_clears < ARRAY_SIZE(clears)); in si_texture_create_object()
1072 si_init_buffer_clear(&clears[num_clears++], &tex->buffer.b.b, tex->surface.meta_offset, in si_texture_create_object()
1086 assert(num_clears < ARRAY_SIZE(clears)); in si_texture_create_object()
1087 si_init_buffer_clear(&clears[num_clears++], &tex->buffer.b.b, tex->surface.meta_offset, in si_texture_create_object()
1091 assert(num_clears < ARRAY_SIZE(clears)); in si_texture_create_object()
1092 si_init_buffer_clear(&clears[num_clears++], &tex->buffer.b.b, tex->surface.meta_offset, in si_texture_create_object()
1098 assert(num_clears < ARRAY_SIZE(clears)); in si_texture_create_object()
[all …]
Dsi_pipe.h1388 unsigned num_clears, unsigned types);
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_clear.c132 unsigned num_clears = zink_fb_clear_count(fb_clear); in get_clear_data() local
133 if (num_clears) { in get_clear_data()
134 … struct zink_framebuffer_clear_data *last_clear = zink_fb_clear_element(fb_clear, num_clears - 1); in get_clear_data()
255 unsigned num_clears = zink_fb_clear_count(fb_clear); in zink_clear() local
256 if (num_clears) { in zink_clear()
265 memcpy(clear + 1, clear, num_clears); in zink_clear()
343 unsigned num_clears = 0; in zink_clear_framebuffer() local
352 if (num_clears != zink_fb_clear_count(fb_clear)) in zink_clear_framebuffer()
355 for (int j = !zink_fb_clear_first_needs_explicit(fb_clear); j < num_clears; j++) { in zink_clear_framebuffer()
368 num_clears = zink_fb_clear_count(fb_clear); in zink_clear_framebuffer()
[all …]