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.c575 unsigned max_out_prims = in draw_geometry_shader_run() local
585 max_out_prims = MAX2(max_out_prims, 1); in draw_geometry_shader_run()
610 shader->max_output_vertices, max_out_prims, in draw_geometry_shader_run()
619 …shader->stream[i].primitive_lengths = MALLOC(max_out_prims * sizeof(unsigned) * shader->num_invoca… in draw_geometry_shader_run()
633 if (max_out_prims > shader->max_out_prims) { in draw_geometry_shader_run()
636 for (i = 0; i < shader->num_vertex_streams * shader->max_out_prims; ++i) { in draw_geometry_shader_run()
642 …shader->llvm_prim_lengths = MALLOC(shader->num_vertex_streams * max_out_prims * sizeof(unsigned*)); in draw_geometry_shader_run()
643 for (i = 0; i < shader->num_vertex_streams * max_out_prims; ++i) { in draw_geometry_shader_run()
649 shader->max_out_prims = max_out_prims; in draw_geometry_shader_run()
808 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.cpp850 const unsigned max_out_prims = 32 * 1024; in gfx9_get_gs_info() local
866 MIN2(max_gs_prims, max_out_prims / (gs->info.base.gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
924 assert(out->max_prims_per_subgroup <= max_out_prims); in gfx9_get_gs_info()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c2304 const unsigned max_out_prims = 32 * 1024; in gfx9_get_gs_info() local
2320 MIN2(max_gs_prims, max_out_prims / (gs_info->gs.vertices_out * gs_num_invocations)); in gfx9_get_gs_info()
2382 assert(max_prims_per_subgroup <= max_out_prims); in gfx9_get_gs_info()