Home
last modified time | relevance | path

Searched refs:num_consts (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c456 int num_consts = get_num_consts_robust(draw, draw->pt.user.vs_constants_size, i); in llvm_middle_end_bind_parameters() local
458 llvm->jit_context.num_vs_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
459 if (num_consts == 0) { in llvm_middle_end_bind_parameters()
473 int num_consts = get_num_consts_robust(draw, draw->pt.user.gs_constants_size, i); in llvm_middle_end_bind_parameters() local
475 llvm->gs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
476 if (num_consts == 0) { in llvm_middle_end_bind_parameters()
490 int num_consts = get_num_consts_robust(draw, draw->pt.user.tcs_constants_size, i); in llvm_middle_end_bind_parameters() local
492 llvm->tcs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
493 if (num_consts == 0) { in llvm_middle_end_bind_parameters()
507 int num_consts = get_num_consts_robust(draw, draw->pt.user.tes_constants_size, i); in llvm_middle_end_bind_parameters() local
[all …]
/external/mesa3d/src/panfrost/bifrost/
Ddisassemble.c437 unsigned num_consts = 0; in dump_clause() local
496 num_consts = 1; in dump_clause()
518 num_consts = 1; in dump_clause()
541 num_consts = 1; in dump_clause()
610 if (num_consts < const_idx + 2) in dump_clause()
611 num_consts = const_idx + 2; in dump_clause()
682 for (unsigned i = 0; i < num_consts; i++) { in dump_clause()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_nir.c866 emit_shader(struct etna_compile *c, unsigned *num_temps, unsigned *num_consts) in emit_shader() argument
970 *num_consts = c->const_count; in emit_shader()
1149 unsigned num_consts; in etna_compile_shader_nir() local
1150 ASSERTED bool ok = emit_shader(c, &v->num_temps, &num_consts); in etna_compile_shader_nir()
1172 copy_uniform_state_to_shader(v, c->consts, num_consts); in etna_compile_shader_nir()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc1246 const int num_consts = in Run() local
1251 const int num_nonconsts = num_args - num_resources - num_consts; in Run()
1258 int arg_pos = num_consts; in Run()
1259 int resource_pos = num_consts + num_nonconsts; in Run()
1285 AddNodeAttr(kXlaNumConstantArgsAttr, num_consts, node); in Run()
/external/virglrenderer/src/
Dvrend_shader.h145 int num_consts; member
Dvrend_shader.c248 int num_consts; member
1851 if (decl->Range.Last + 1 > ctx->num_consts) in iter_declaration()
1852 ctx->num_consts = decl->Range.Last + 1; in iter_declaration()
1854 ctx->num_consts++; in iter_declaration()
6459 if (ctx->num_consts) { in emit_ios_common()
6461 emit_hdrf(glsl_strbufs, "uniform uvec4 %sconst0[%d];\n", cname, ctx->num_consts); in emit_ios_common()
7600 sinfo->num_consts = ctx->num_consts; in fill_sinfo()
Dvrend_renderer.c582 uint32_t num_consts; member
1586 if (sprog->ss[shader_type]->sel->sinfo.num_consts) { in bind_const_locs()
3327 consts->num_consts = num_constant; in vrend_set_constants()
5000 sub_ctx->shaders[shader_type]->sinfo.num_consts, in vrend_draw_bind_const_shader()
/external/libcups/cups/
Dppd.h319 int num_consts; /* Number of UI/Non-UI constraints */ member
Dppd.c158 if (ppd->num_consts > 0) in ppdClose()
1702 if (ppd->num_consts == 0) in _ppdOpen()
1705 constraint = realloc(ppd->consts, (size_t)(ppd->num_consts + 2) * sizeof(ppd_const_t)); in _ppdOpen()
1715 constraint += ppd->num_consts; in _ppdOpen()
1716 ppd->num_consts ++; in _ppdOpen()
Dtestppd.c1320 for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) in main()
1323 if (ppd->num_consts == 0) in main()
Dppd-conflicts.c738 for (i = ppd->num_consts, oldconst = ppd->consts; i > 0; i --, oldconst ++) in ppd_load_constraints()
/external/libcups/ppdc/
Dppdc-import.cxx214 for (i = ppd->num_consts, constraint = ppd->consts; in import_ppd()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c814 LLVMValueRef num_consts; in emit_fetch_constant() local
828 num_consts = bld->consts_sizes[dimension]; in emit_fetch_constant()
847 num_consts = lp_build_broadcast_scalar(uint_bld, num_consts); in emit_fetch_constant()
851 indirect_index, num_consts); in emit_fetch_constant()
3465 LLVMValueRef num_consts = bld->consts_sizes[buf]; in load_emit() local
3476 num_consts = lp_build_broadcast_scalar(uint_bld, num_consts); in load_emit()
3484 indirect_index, num_consts); in load_emit()
Dlp_bld_nir_soa.c995 LLVMValueRef num_consts = lp_build_array_get(gallivm, bld->const_sizes_ptr, index); in emit_load_ubo() local
997 num_consts = lp_build_broadcast_scalar(uint_bld, num_consts); in emit_load_ubo()
1001 this_offset, num_consts); in emit_load_ubo()
/external/libcups/systemv/
Dcupstestppd.c1596 ppd->num_consts); in main()
1597 for (j = 0; j < ppd->num_consts; j ++) in main()
1956 for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) in check_constraints()
3714 for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) in show_conflicts()
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c3773 uint32_t num_consts = MIN2(const_state->num_driver_params, in tu_emit_compute_driver_params() local
3776 tu_cs_emit_pkt7(cs, tu6_stage2opcode(type), 3 + num_consts); in tu_emit_compute_driver_params()
3781 CP_LOAD_STATE6_0_NUM_UNIT(num_consts / 4)); in tu_emit_compute_driver_params()
3785 for (i = 0; i < num_consts; i++) in tu_emit_compute_driver_params()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4608 unsigned constbuf = 0, num_consts; in emit_vgpu10_declaration() local
4618 num_consts = MAX2(emit->num_shader_consts[constbuf], in emit_vgpu10_declaration()
4621 if (num_consts > VGPU10_MAX_CONSTANT_BUFFER_ELEMENT_COUNT) { in emit_vgpu10_declaration()
4624 num_consts, in emit_vgpu10_declaration()
4629 MIN2(num_consts, VGPU10_MAX_CONSTANT_BUFFER_ELEMENT_COUNT); in emit_vgpu10_declaration()