Searched refs:num_returns (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_function_can_inline.cpp | 41 this->num_returns = 0; in ir_function_can_inline_visitor() 46 int num_returns; member in ir_function_can_inline_visitor 53 this->num_returns++; in visit_enter() 72 v.num_returns++; in can_inline() 74 return v.num_returns == 1; in can_inline()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_ps.c | 614 int num_returns, i, num_color_channels; in si_llvm_build_ps_prolog() local 620 num_returns = 0; in si_llvm_build_ps_prolog() 626 return_types[num_returns++] = ctx->ac.i32; in si_llvm_build_ps_prolog() 643 return_types[num_returns++] = ctx->ac.f32; in si_llvm_build_ps_prolog() 648 return_types[num_returns++] = ctx->ac.f32; in si_llvm_build_ps_prolog() 651 si_llvm_create_func(ctx, "ps_prolog", return_types, num_returns, 0); in si_llvm_build_ps_prolog()
|
D | si_shader_llvm_vs.c | 820 int num_returns, i; in si_llvm_build_vs_prolog() local 834 num_returns = 0; in si_llvm_build_vs_prolog() 839 returns[num_returns++] = ctx->ac.i32; in si_llvm_build_vs_prolog() 845 returns[num_returns++] = ctx->ac.f32; in si_llvm_build_vs_prolog() 850 returns[num_returns++] = ctx->ac.f32; in si_llvm_build_vs_prolog() 853 si_llvm_create_func(ctx, "vs_prolog", returns, num_returns, 0); in si_llvm_build_vs_prolog()
|
D | si_shader_llvm.c | 604 unsigned num_returns = 0; in si_build_wrapper_function() local 612 num_returns = LLVMCountStructElementTypes(return_type); in si_build_wrapper_function() 613 assert(num_returns <= ARRAY_SIZE(returns)); in si_build_wrapper_function() 622 si_llvm_create_func(ctx, "wrapper", returns, num_returns, in si_build_wrapper_function()
|
D | si_shader.c | 380 unsigned i, num_returns, num_return_sgprs; in si_init_shader_args() local 687 num_returns = num_return_sgprs + util_bitcount(shader->selector->info.colors_written) * 4 + in si_init_shader_args() 691 num_returns = MAX2(num_returns, num_return_sgprs + PS_EPILOG_SAMPLEMASK_MIN_LOC + 1); in si_init_shader_args() 695 for (; i < num_returns; i++) in si_init_shader_args()
|