Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c281 int num_consts = in llvm_middle_end_bind_parameters() local
284 llvm->jit_context.num_vs_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
285 if (num_consts == 0) { in llvm_middle_end_bind_parameters()
290 int num_consts = in llvm_middle_end_bind_parameters() local
293 llvm->gs_jit_context.num_constants[i] = num_consts; in llvm_middle_end_bind_parameters()
294 if (num_consts == 0) { in llvm_middle_end_bind_parameters()
/external/mesa3d/src/gallium/drivers/ilo/shader/
Dilo_shader_vs.c1210 int num_consts; in vs_setup() local
1242 num_consts = (vcc->tgsi.const_count + 1) / 2; in vs_setup()
1251 if (num_consts > 32) in vs_setup()
1252 num_consts = 0; in vs_setup()
1255 num_consts = 0; in vs_setup()
1258 vcc->shader->skip_cbuf0_upload = (!vcc->tgsi.const_count || num_consts); in vs_setup()
1259 vcc->shader->pcb.cbuf0_size = num_consts * (sizeof(float) * 8); in vs_setup()
1263 vcc->first_ucp_grf = vcc->first_const_grf + num_consts; in vs_setup()
Dilo_shader_fs.c1778 int num_consts; in fs_setup() local
1820 num_consts = (fcc->tgsi.const_count + 1) / 2; in fs_setup()
1832 if (num_consts > 8) in fs_setup()
1833 num_consts = 0; in fs_setup()
1836 num_consts = 0; in fs_setup()
1839 fcc->shader->skip_cbuf0_upload = (!fcc->tgsi.const_count || num_consts); in fs_setup()
1840 fcc->shader->pcb.cbuf0_size = num_consts * (sizeof(float) * 8); in fs_setup()
1843 fcc->first_attr_grf = fcc->first_const_grf + num_consts; in fs_setup()
/external/libcups/cups/
Dppd.h327 int num_consts; /* Number of UI/Non-UI constraints */ member
Dppd.c188 if (ppd->num_consts > 0) in ppdClose()
1759 if (ppd->num_consts == 0) in _ppdOpen()
1762 constraint = realloc(ppd->consts, (size_t)(ppd->num_consts + 2) * sizeof(ppd_const_t)); in _ppdOpen()
1772 constraint += ppd->num_consts; in _ppdOpen()
1773 ppd->num_consts ++; in _ppdOpen()
Dtestppd.c1125 for (i = ppd->num_consts, c = ppd->consts; i > 0; i --, c ++) in main()
1128 if (ppd->num_consts == 0) in main()
Dppd-conflicts.c742 for (i = ppd->num_consts, oldconst = ppd->consts; i > 0; i --, oldconst ++) in ppd_load_constraints()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c1232 LLVMValueRef num_consts; in emit_fetch_constant() local
1245 num_consts = bld->consts_sizes[dimension]; in emit_fetch_constant()
1263 num_consts = lp_build_broadcast_scalar(uint_bld, num_consts); in emit_fetch_constant()
1267 indirect_index, num_consts); in emit_fetch_constant()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c2264 unsigned constbuf = 0, num_consts; in emit_vgpu10_declaration() local
2274 num_consts = MAX2(emit->num_shader_consts[constbuf], in emit_vgpu10_declaration()
2277 if (num_consts > VGPU10_MAX_CONSTANT_BUFFER_ELEMENT_COUNT) { in emit_vgpu10_declaration()
2280 num_consts, in emit_vgpu10_declaration()
2285 MIN2(num_consts, VGPU10_MAX_CONSTANT_BUFFER_ELEMENT_COUNT); in emit_vgpu10_declaration()