Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c574 unsigned max_out_prims = in draw_geometry_shader_run() local
584 max_out_prims = MAX2(max_out_prims, 1); in draw_geometry_shader_run()
609 shader->max_output_vertices, max_out_prims, in draw_geometry_shader_run()
618 …shader->stream[i].primitive_lengths = MALLOC(max_out_prims * sizeof(unsigned) * shader->num_invoca… in draw_geometry_shader_run()
632 if (max_out_prims > shader->max_out_prims) { in draw_geometry_shader_run()
635 for (i = 0; i < shader->num_vertex_streams * shader->max_out_prims; ++i) { in draw_geometry_shader_run()
641 …shader->llvm_prim_lengths = MALLOC(shader->num_vertex_streams * max_out_prims * sizeof(unsigned*)); in draw_geometry_shader_run()
642 for (i = 0; i < shader->num_vertex_streams * max_out_prims; ++i) { in draw_geometry_shader_run()
648 shader->max_out_prims = max_out_prims; in draw_geometry_shader_run()
799 gs->max_out_prims = 0; in draw_create_geometry_shader()
[all …]
Ddraw_gs.h96 unsigned max_out_prims; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c688 const unsigned max_out_prims = 32 * 1024; in gfx9_get_gs_info() local
704 MIN2(max_gs_prims, max_out_prims / (gs->info.base.gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
762 assert(out->max_prims_per_subgroup <= max_out_prims); in gfx9_get_gs_info()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1859 const unsigned max_out_prims = 32 * 1024; in gfx9_get_gs_info() local
1875 MIN2(max_gs_prims, max_out_prims / (gs_info->gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
1937 assert(max_prims_per_subgroup <= max_out_prims); in gfx9_get_gs_info()