Home
last modified time | relevance | path

Searched refs:esgs_lds_size (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1214 unsigned esgs_lds_size; in calculate_gfx9_gs_info() local
1249 esgs_lds_size = esgs_itemsize * worst_case_es_verts; in calculate_gfx9_gs_info()
1254 if (esgs_lds_size > max_lds_size) { in calculate_gfx9_gs_info()
1265 esgs_lds_size = esgs_itemsize * worst_case_es_verts; in calculate_gfx9_gs_info()
1266 assert(esgs_lds_size <= max_lds_size); in calculate_gfx9_gs_info()
1270 if (esgs_lds_size) in calculate_gfx9_gs_info()
1271 es_verts = MIN2(esgs_lds_size / esgs_itemsize, max_es_verts); in calculate_gfx9_gs_info()
1292 pipeline->graphics.gs.lds_size = align(esgs_lds_size, 128) / 128; in calculate_gfx9_gs_info()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c598 unsigned esgs_lds_size; in gfx9_get_gs_info() local
635 esgs_lds_size = esgs_itemsize * worst_case_es_verts; in gfx9_get_gs_info()
640 if (esgs_lds_size > max_lds_size) { in gfx9_get_gs_info()
651 esgs_lds_size = esgs_itemsize * worst_case_es_verts; in gfx9_get_gs_info()
652 assert(esgs_lds_size <= max_lds_size); in gfx9_get_gs_info()
656 if (esgs_lds_size) in gfx9_get_gs_info()
657 es_verts = MIN2(esgs_lds_size / esgs_itemsize, max_es_verts); in gfx9_get_gs_info()
679 out->lds_size = align(esgs_lds_size, 128) / 128; in gfx9_get_gs_info()