Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader.h525 unsigned output_patch_size = pervertex_output_patch_size + tcs_num_patch_outputs * 16; in calculate_tess_lds_size() local
529 unsigned lds_size = output_patch0_offset + output_patch_size * tcs_num_patches; in calculate_tess_lds_size()
556 uint32_t output_patch_size = pervertex_output_patch_size + tcs_num_patch_outputs * 16; in get_tcs_num_patches() local
576 if (input_patch_size + output_patch_size) in get_tcs_num_patches()
577 num_patches = MIN2(num_patches, hardware_lds_size / (input_patch_size + output_patch_size)); in get_tcs_num_patches()
579 if (output_patch_size) in get_tcs_num_patches()
580 num_patches = MIN2(num_patches, (tess_offchip_block_dw_size * 4) / output_patch_size); in get_tcs_num_patches()
Dradv_nir_to_llvm.c156 uint32_t output_patch_size = pervertex_output_patch_size + num_tcs_patch_outputs * 16; in get_tcs_out_patch_stride() local
157 output_patch_size /= 4; in get_tcs_out_patch_stride()
158 return LLVMConstInt(ctx->ac.i32, output_patch_size, false); in get_tcs_out_patch_stride()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c85 unsigned input_patch_size, output_patch_size, output_patch0_offset; in si_emit_derived_tess_state() local
137 output_patch_size = pervertex_output_patch_size + num_tcs_patch_outputs * 16; in si_emit_derived_tess_state()
154 *num_patches = MIN2(*num_patches, hardware_lds_size / (input_patch_size + output_patch_size)); in si_emit_derived_tess_state()
158 MIN2(*num_patches, (sctx->screen->tess_offchip_block_dw_size * 4) / output_patch_size); in si_emit_derived_tess_state()
212 assert(((output_patch_size / 4) & ~0x1fff) == 0); in si_emit_derived_tess_state()
224 tcs_out_layout = (output_patch_size / 4) | (num_tcs_input_cp << 13) | ring_va; in si_emit_derived_tess_state()
230 lds_size = output_patch0_offset + output_patch_size * *num_patches; in si_emit_derived_tess_state()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c4516 unsigned input_patch_size, pervertex_output_patch_size, output_patch_size; in evergreen_setup_tess_constants() local
4561 output_patch_size = pervertex_output_patch_size + num_tcs_patch_outputs * 16; in evergreen_setup_tess_constants()
4566 lds_size = output_patch0_offset + output_patch_size * *num_patches; in evergreen_setup_tess_constants()
4573 values[4] = output_patch_size; in evergreen_setup_tess_constants()