Home
last modified time | relevance | path

Searched refs:output_patch_size (Results 1 – 3 of 3) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.h636 unsigned output_patch_size = pervertex_output_patch_size + tcs_num_patch_outputs * 16; in calculate_tess_lds_size() local
640 unsigned lds_size = output_patch0_offset + output_patch_size * tcs_num_patches; in calculate_tess_lds_size()
663 uint32_t output_patch_size = pervertex_output_patch_size + tcs_num_patch_outputs * 16; in get_tcs_num_patches() local
683 if (input_patch_size + output_patch_size) in get_tcs_num_patches()
684 num_patches = MIN2(num_patches, hardware_lds_size / (input_patch_size + output_patch_size)); in get_tcs_num_patches()
686 if (output_patch_size) in get_tcs_num_patches()
687 num_patches = MIN2(num_patches, (tess_offchip_block_dw_size * 4) / output_patch_size); in get_tcs_num_patches()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.cpp672 unsigned output_patch_size = pervertex_output_patch_size + num_tcs_patch_outputs * 16; in si_emit_derived_tess_state() local
683 lds_per_patch = input_patch_size + output_patch_size; in si_emit_derived_tess_state()
686 lds_per_patch = MAX2(input_patch_size, output_patch_size); in si_emit_derived_tess_state()
711 MIN2(*num_patches, (sctx->screen->hs.tess_offchip_block_dw_size * 4) / output_patch_size); in si_emit_derived_tess_state()
765 assert(((output_patch_size / 4) & ~0x1fff) == 0); in si_emit_derived_tess_state()
777 unsigned tcs_out_layout = (output_patch_size / 4) | (num_tcs_input_cp << 13) | ring_va; in si_emit_derived_tess_state()
/third_party/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c4536 unsigned input_patch_size, pervertex_output_patch_size, output_patch_size; in evergreen_setup_tess_constants() local
4581 output_patch_size = pervertex_output_patch_size + num_tcs_patch_outputs * 16; in evergreen_setup_tess_constants()
4586 lds_size = output_patch0_offset + output_patch_size * *num_patches; in evergreen_setup_tess_constants()
4593 values[4] = output_patch_size; in evergreen_setup_tess_constants()