Home
last modified time | relevance | path

Searched refs:tcs_num_patches (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_shader.h515 unsigned tcs_num_patches, in calculate_tess_lds_size() argument
527 unsigned output_patch0_offset = input_patch_size * tcs_num_patches; in calculate_tess_lds_size()
529 unsigned lds_size = output_patch0_offset + output_patch_size * tcs_num_patches; in calculate_tess_lds_size()
Dradv_nir_to_llvm.c82 uint32_t tcs_num_patches; member
177 unsigned num_patches = ctx->tcs_num_patches; in get_tcs_out_patch0_offset()
195 unsigned num_patches = ctx->tcs_num_patches; in get_tcs_out_patch0_patch_data_offset()
404 uint32_t num_patches = ctx->tcs_num_patches; in get_non_vertex_index_offset()
422 …= LLVMConstInt(ctx->ac.i32, ctx->shader->info.tess.tcs_vertices_out * ctx->tcs_num_patches, false); in calc_param_stride()
424 param_stride = LLVMConstInt(ctx->ac.i32, ctx->tcs_num_patches, false); in calc_param_stride()
3942 ctx.tcs_num_patches = in ac_translate_nir_to_llvm()
3956 ctx.tcs_num_patches = args->options->key.tes.num_patches; in ac_translate_nir_to_llvm()
4054 args->shader_info->tcs.num_patches = ctx.tcs_num_patches; in ac_translate_nir_to_llvm()
4061 ctx.tcs_num_patches, in ac_translate_nir_to_llvm()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp462 ctx->tcs_num_patches = get_tcs_num_patches( in setup_tcs_info()
476 ctx->tcs_num_patches, in setup_tcs_info()
480 ctx->args->shader_info->tcs.num_patches = ctx->tcs_num_patches; in setup_tcs_info()
489 ctx->tcs_num_patches = ctx->args->options->key.tes.num_patches; in setup_tes_variables()
1130 program->workgroup_size = ctx.tcs_num_patches * shaders[0]->info.tess.tcs_vertices_out; in setup_isel_context()
1134 …program->workgroup_size = ctx.tcs_num_patches * MAX2(shaders[1]->info.tess.tcs_vertices_out, ctx.a… in setup_isel_context()
Daco_instruction_selection.h123 uint32_t tcs_num_patches; member
Daco_instruction_selection.cpp4186 uint32_t output_patch0_offset = (input_patch_size * ctx->tcs_num_patches); in get_tcs_output_lds_offset()
4189 …uint32_t output_patch0_patch_data_offset = (input_patch_size * ctx->tcs_num_patches + pervertex_ou… in get_tcs_output_lds_offset()
4201 unsigned attr_stride = vertices_per_patch * ctx->tcs_num_patches; in get_tcs_per_vertex_output_vmem_offset()
4221 unsigned per_patch_data_offset = per_vertex_output_patch_size * ctx->tcs_num_patches; in get_tcs_per_patch_output_vmem_offset()
4222 unsigned attr_stride = ctx->tcs_num_patches; in get_tcs_per_patch_output_vmem_offset()