Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_root_signature.cpp116 unsigned num_params = 0; in create_root_signature() local
125 init_range_root_param(&root_params[num_params++], in create_root_signature()
135 init_range_root_param(&root_params[num_params++], in create_root_signature()
143 init_range_root_param(&root_params[num_params++], in create_root_signature()
153 init_range_root_param(&root_params[num_params], in create_root_signature()
166 root_params[num_params++].DescriptorTable.NumDescriptorRanges++; in create_root_signature()
176 init_range_root_param(&root_params[num_params++], in create_root_signature()
186 init_constant_root_param(&root_params[num_params++], in create_root_signature()
191 assert(num_params < PIPE_SHADER_TYPES * D3D12_NUM_BINDING_TYPES); in create_root_signature()
197 root_sig_desc.Desc_1_1.NumParameters = num_params; in create_root_signature()
[all …]
Dd3d12_draw.cpp493 unsigned &num_params, in update_shader_stage_root_parameters() argument
507 root_desc_indices[num_root_descriptors++] = num_params; in update_shader_stage_root_parameters()
509 num_params++; in update_shader_stage_root_parameters()
515 root_desc_indices[num_root_descriptors++] = num_params; in update_shader_stage_root_parameters()
517 num_params++; in update_shader_stage_root_parameters()
521 root_desc_indices[num_root_descriptors++] = num_params; in update_shader_stage_root_parameters()
523 num_params++; in update_shader_stage_root_parameters()
529 root_desc_indices[num_root_descriptors++] = num_params; in update_shader_stage_root_parameters()
531 num_params++; in update_shader_stage_root_parameters()
537 root_desc_indices[num_root_descriptors++] = num_params; in update_shader_stage_root_parameters()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_draw.c137 unsigned num_params = info_in->index_size ? 5 : 4; in util_draw_indirect_read() local
164 unsigned map_size = (draw_count - 1) * indirect->stride + (num_params * sizeof(uint32_t)); in util_draw_indirect_read()
202 unsigned num_params = info_in->index_size ? 5 : 4; in util_draw_indirect() local
227 num_params = MIN2(indirect->stride / 4, num_params); in util_draw_indirect()
232 (num_params * indirect->draw_count) * sizeof(uint32_t), in util_draw_indirect()
/third_party/python/Modules/_sqlite/
Dstatement.c236 Py_ssize_t num_params; in pysqlite_statement_bind_parameters() local
245 num_params = PyTuple_GET_SIZE(parameters); in pysqlite_statement_bind_parameters()
247 num_params = PyList_GET_SIZE(parameters); in pysqlite_statement_bind_parameters()
249 num_params = PySequence_Size(parameters); in pysqlite_statement_bind_parameters()
250 if (num_params == -1) { in pysqlite_statement_bind_parameters()
254 if (num_params != num_params_needed) { in pysqlite_statement_bind_parameters()
258 num_params_needed, num_params); in pysqlite_statement_bind_parameters()
261 for (i = 0; i < num_params; i++) { in pysqlite_statement_bind_parameters()
/third_party/mesa3d/src/compiler/nir/
Dnir_inline_functions.c85 assert(param_idx < impl->function->num_params); in nir_inline_function_impl()
161 const unsigned num_params = call->num_params; in inline_functions_block() local
162 NIR_VLA(nir_ssa_def *, params, num_params); in inline_functions_block()
163 for (unsigned i = 0; i < num_params; i++) { in inline_functions_block()
Dnir_clone.c481 for (unsigned i = 0; i < ncall->num_params; i++) in clone_call()
731 nfxn->num_params = fxn->num_params; in clone_function()
732 if (fxn->num_params) { in clone_function()
733 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
734 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); in clone_function()
/third_party/skia/third_party/externals/tint/src/resolver/
Dbuiltins_validation_test.cc982 uint32_t num_params = std::get<1>(GetParam()); in TEST_P() local
985 for (uint32_t i = 0; i < num_params; ++i) { in TEST_P()
998 uint32_t num_params = std::get<1>(GetParam()); in TEST_P() local
1001 for (uint32_t i = 0; i < num_params; ++i) { in TEST_P()
1014 uint32_t num_params = std::get<1>(GetParam()); in TEST_P() local
1017 for (uint32_t i = 0; i < num_params; ++i) { in TEST_P()
1030 uint32_t num_params = std::get<1>(GetParam()); in TEST_P() local
1033 for (uint32_t i = 0; i < num_params; ++i) { in TEST_P()
1092 uint32_t num_params = std::get<1>(GetParam()); in TEST_P() local
1095 for (uint32_t i = 0; i < num_params; ++i) { in TEST_P()
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_function.c216 unsigned num_params = 0; in dxil_alloc_func_with_rettype() local
218 while (param_descr[num_params]) { in dxil_alloc_func_with_rettype()
222 assert(num_params < MAX_FUNC_PARAMS); in dxil_alloc_func_with_rettype()
223 arg_types[num_params++] = t; in dxil_alloc_func_with_rettype()
228 arg_types, num_params); in dxil_alloc_func_with_rettype()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfobjs.h34 FT_Int num_params,
41 FT_Int num_params,
/third_party/mesa3d/src/compiler/spirv/
Dnir_load_libclc.c270 gfunc->num_params = func->num_params; in libclc_add_generic_variants()
271 gfunc->params = ralloc_array(shader, nir_parameter, gfunc->num_params); in libclc_add_generic_variants()
272 for (unsigned i = 0; i < gfunc->num_params; i++) in libclc_add_generic_variants()
Dnir_lower_libclc.c55 nir_ssa_def **params = rzalloc_array(b->shader, nir_ssa_def*, call->num_params); in lower_clc_call_instr()
57 for (unsigned i = 0; i < call->num_params; i++) { in lower_clc_call_instr()
Dvtn_cfg.c140 assert(param_idx == call->num_params); in vtn_handle_function_call()
203 unsigned num_params = 0; in vtn_cfg_handle_prepass_instruction() local
205 num_params += glsl_type_count_function_params(func_type->params[i]->type); in vtn_cfg_handle_prepass_instruction()
209 num_params++; in vtn_cfg_handle_prepass_instruction()
211 func->num_params = num_params; in vtn_cfg_handle_prepass_instruction()
212 func->params = ralloc_array(b->shader, nir_parameter, num_params); in vtn_cfg_handle_prepass_instruction()
227 assert(idx == num_params); in vtn_cfg_handle_prepass_instruction()
268 vtn_assert(b->func_param_idx < b->func->nir_func->num_params); in vtn_cfg_handle_prepass_instruction()
/third_party/node/deps/v8/src/compiler/
Dc-linkage.cc192 size_t num_params = 0; in BuildParameterLocations() local
198 : (num_params >= kParamRegisterCount); in BuildParameterLocations()
210 kParamRegisters[num_params].code(), type)); in BuildParameterLocations()
211 ++num_params; in BuildParameterLocations()
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42objs.c166 FT_Int num_params, in T42_Face_Init() argument
177 FT_UNUSED( num_params ); in T42_Face_Init()
297 if ( num_params ) in T42_Face_Init()
300 args.num_params = num_params; in T42_Face_Init()
/third_party/skia/third_party/externals/freetype/src/base/
Dftbase.h46 FT_Int num_params,
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_intersection_shader.c33 assert(impl->function->num_params == 0); in lower_any_hit_for_intersection()
53 impl->function->num_params = ARRAY_SIZE(params); in lower_any_hit_for_intersection()
/third_party/selinux/libsepol/src/
Dkernel_to_conf.c49 uint32_t num_params; in cond_expr_to_str() local
54 case COND_NOT: op = "!"; num_params = 1; break; in cond_expr_to_str()
55 case COND_OR: op = "||"; num_params = 2; break; in cond_expr_to_str()
56 case COND_AND: op = "&&"; num_params = 2; break; in cond_expr_to_str()
57 case COND_XOR: op = "^"; num_params = 2; break; in cond_expr_to_str()
58 case COND_EQ: op = "=="; num_params = 2; break; in cond_expr_to_str()
59 case COND_NEQ: op = "!="; num_params = 2; break; in cond_expr_to_str()
65 if (num_params == 2) { in cond_expr_to_str()
78 if (num_params == 2) { in cond_expr_to_str()
203 uint32_t num_params; in constraint_expr_to_str() local
[all …]
/third_party/spirv-tools/source/fuzz/
Dfuzzer_context.h462 uint32_t GetRandomNumberOfParametersReplacedWithStruct(uint32_t num_params) { in GetRandomNumberOfParametersReplacedWithStruct() argument
463 assert(num_params != 0 && "A function must have parameters to replace"); in GetRandomNumberOfParametersReplacedWithStruct()
465 {1, std::min(num_params, in GetRandomNumberOfParametersReplacedWithStruct()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_context.h462 uint32_t GetRandomNumberOfParametersReplacedWithStruct(uint32_t num_params) { in GetRandomNumberOfParametersReplacedWithStruct() argument
463 assert(num_params != 0 && "A function must have parameters to replace"); in GetRandomNumberOfParametersReplacedWithStruct()
465 {1, std::min(num_params, in GetRandomNumberOfParametersReplacedWithStruct()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_context.h462 uint32_t GetRandomNumberOfParametersReplacedWithStruct(uint32_t num_params) { in GetRandomNumberOfParametersReplacedWithStruct() argument
463 assert(num_params != 0 && "A function must have parameters to replace"); in GetRandomNumberOfParametersReplacedWithStruct()
465 {1, std::min(num_params, in GetRandomNumberOfParametersReplacedWithStruct()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffobjs.h61 FT_Int num_params,
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c679 unsigned num_params = glsl_get_aoa_size(type); in add_parameter() local
680 num_params = MAX2(num_params, 1); in add_parameter()
681 num_params *= glsl_get_matrix_columns(glsl_without_array(type)); in add_parameter()
685 num_params *= 2; in add_parameter()
689 _mesa_reserve_parameter_storage(params, num_params, num_params); in add_parameter()
692 for (unsigned i = 0; i < num_params; i++) { in add_parameter()
710 for (unsigned i = 0; i < num_params; i++) { in add_parameter()
720 for (unsigned i = 0; i < num_params; i++) { in add_parameter()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dsfnt.h75 FT_Int num_params,
117 FT_Int num_params,
/third_party/mesa3d/src/compiler/isaspec/
Ddecode.h65 unsigned num_params; member
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.h63 FT_Int num_params,

1234