Searched refs:api_workgroup_size (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 155 unsigned api_workgroup_size; member 2619 if (s->api_workgroup_size <= s->wave_size) { in emit_ms_prelude() 2772 if (s->api_workgroup_size >= s->hw_workgroup_size) in handle_smaller_ms_api_workgroup() 2791 bool scan_barriers = ALIGN(s->api_workgroup_size, s->wave_size) < s->hw_workgroup_size; in handle_smaller_ms_api_workgroup() 2792 bool can_shrink_barriers = s->api_workgroup_size <= s->wave_size; in handle_smaller_ms_api_workgroup() 2796 unsigned num_api_waves = DIV_ROUND_UP(s->api_workgroup_size, s->wave_size); in handle_smaller_ms_api_workgroup() 2854 …a_def *has_api_ms_invocation = nir_ult(b, invocation_index, nir_imm_int(b, s->api_workgroup_size)); in handle_smaller_ms_api_workgroup() 3032 unsigned api_workgroup_size = shader->info.workgroup_size[0] * in ac_nir_lower_ngg_ms() local 3037 ALIGN(MAX3(api_workgroup_size, max_primitives, max_vertices), wave_size); in ac_nir_lower_ngg_ms() 3045 .api_workgroup_size = api_workgroup_size, in ac_nir_lower_ngg_ms()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline.c | 2478 unsigned api_workgroup_size = in gfx10_get_ngg_ms_info() local 2481 stage->info.workgroup_size = MAX2(min_ngg_workgroup_size, api_workgroup_size); in gfx10_get_ngg_ms_info()
|