Searched refs:nr_params (Results 1 – 14 of 14) sorted by relevance
44 unsigned int nr_params = brw->vs.prog_data->nr_params / 4; in gen6_upload_vs_push_constants() local57 if (brw->vs.prog_data->nr_params == 0 && !ctx->Transform.ClipPlanesEnabled) { in gen6_upload_vs_push_constants()65 (MAX_CLIP_PLANES + nr_params) * in gen6_upload_vs_push_constants()70 for (i = 0; i < brw->vs.prog_data->nr_params; i++) { in gen6_upload_vs_push_constants()74 params_uploaded += brw->vs.prog_data->nr_params / 4; in gen6_upload_vs_push_constants()
53 if (brw->wm.prog_data->nr_params != 0) { in gen6_upload_wm_push_constants()58 brw->wm.prog_data->nr_params * in gen6_upload_wm_push_constants()62 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()68 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in gen6_upload_wm_push_constants()105 if (brw->wm.prog_data->nr_params == 0) { in upload_wm_state()123 ALIGN(brw->wm.prog_data->nr_params, in upload_wm_state()
60 const GLuint nr_fp_regs = (brw->wm.prog_data->nr_params + 15) / 16; in calculate_curbe_offsets()63 const GLuint nr_vp_regs = (brw->vs.prog_data->nr_params + 15) / 16; in calculate_curbe_offsets()207 for (i = 0; i < brw->wm.prog_data->nr_params; i++) { in brw_upload_constant_buffer()252 GLuint nr = brw->vs.prog_data->nr_params / 4; in brw_upload_constant_buffer()255 for (i = 0; i < brw->vs.prog_data->nr_params; i++) { in brw_upload_constant_buffer()
134 if (brw->wm.prog_data->nr_params == 0) { in upload_ps_state()149 OUT_BATCH(ALIGN(brw->wm.prog_data->nr_params, in upload_ps_state()181 if (brw->wm.prog_data->nr_params > 0) in upload_ps_state()
529 unsigned int param = c->prog_data.nr_params++; in setup_uniform_values()590 this->param_index[c->prog_data.nr_params] = index; in setup_builtin_uniform_values()591 this->param_offset[c->prog_data.nr_params] = swiz; in setup_builtin_uniform_values()592 c->prog_data.nr_params++; in setup_builtin_uniform_values()904 for (unsigned int i = 0; i < c->prog_data.nr_params; i++) { in setup_paramvalues_refs()914 c->prog_data.curb_read_length = ALIGN(c->prog_data.nr_params, 8) / 8; in assign_curb_setup()1112 this->params_remap = ralloc_array(mem_ctx, int, c->prog_data.nr_params); in remove_dead_constants()1114 for (unsigned int i = 0; i < c->prog_data.nr_params; i++) in remove_dead_constants()1127 assert(constant_nr < (int)c->prog_data.nr_params); in remove_dead_constants()1143 for (unsigned int i = 0; i < c->prog_data.nr_params; i++) { in remove_dead_constants()[all …]
105 int param_index = c->prog_data.nr_params; in visit()1206 scale_x = fs_reg(UNIFORM, c->prog_data.nr_params); in emit_texcoord()1207 scale_y = fs_reg(UNIFORM, c->prog_data.nr_params + 1); in emit_texcoord()1212 this->param_index[c->prog_data.nr_params] = index; in emit_texcoord()1213 this->param_offset[c->prog_data.nr_params] = 0; in emit_texcoord()1214 c->prog_data.nr_params++; in emit_texcoord()1215 this->param_index[c->prog_data.nr_params] = index; in emit_texcoord()1216 this->param_offset[c->prog_data.nr_params] = 1; in emit_texcoord()1217 c->prog_data.nr_params++; in emit_texcoord()
303 GLuint nr_params; /**< number of float params/constants */ member436 GLuint nr_params; /**< number of float params/constants */ member
105 GLuint i = c->prog_data.nr_params++; in get_param_ref()
305 c->prog_data.nr_params = constant * 4; in brw_vs_alloc_regs()307 if (intel->gen < 6 && c->prog_data.nr_params == 0) in brw_vs_alloc_regs()308 c->prog_data.nr_params = 4; in brw_vs_alloc_regs()
130 c->prog_data.nr_params = this->uniforms * 4; in setup_uniforms()
412 for (i = 0; i < p->nr_params; i++) { in i915_emit_param4fv()421 i = p->nr_params++; in i915_emit_param4fv()487 p->nr_params = 0; in i915_init_program()
205 GLuint nr_params; member
69 if (p && p->nr_params) in i915InvalidateState()
1197 if (p->nr_params) in track_params()1200 for (i = 0; i < p->nr_params; i++) { in track_params()