Home
last modified time | relevance | path

Searched refs:nr_params (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_constant_state.c107 unsigned nr_params) in brw_populate_constant_data() argument
110 for (unsigned i = 0; i < nr_params; i++) in brw_populate_constant_data()
146 if (!active || prog_data->nr_params == 0) { in gen6_upload_push_constants()
157 const int size = prog_data->nr_params * sizeof(gl_constant_value); in gen6_upload_push_constants()
178 prog_data->nr_params); in gen6_upload_push_constants()
183 for (i = 0; i < prog_data->nr_params; i++) { in gen6_upload_push_constants()
196 stage_state->push_const_size = ALIGN(prog_data->nr_params, 8) / 8; in gen6_upload_push_constants()
345 for ( ; src < prog_data->nr_params; src++, dst++) { in brw_upload_cs_push_constants()
Dbrw_nir_uniforms.cpp221 unsigned nr_params = shader->num_uniforms / 4; in brw_nir_setup_glsl_uniforms() local
222 stage_prog_data->nr_params = nr_params; in brw_nir_setup_glsl_uniforms()
223 stage_prog_data->param = rzalloc_array(mem_ctx, uint32_t, nr_params); in brw_nir_setup_glsl_uniforms()
248 unsigned nr_params = plist->NumParameters * 4; in brw_nir_setup_arb_uniforms() local
249 stage_prog_data->nr_params = nr_params; in brw_nir_setup_arb_uniforms()
250 stage_prog_data->param = rzalloc_array(mem_ctx, uint32_t, nr_params); in brw_nir_setup_arb_uniforms()
418 assert(nir->num_uniforms == prog_data->nr_params * 4); in brw_nir_lower_legacy_clipping()
423 assert(nir->num_uniforms == prog_data->nr_params * 4); in brw_nir_lower_legacy_clipping()
Dbrw_curbe.c81 const GLuint nr_fp_regs = (brw->wm.base.prog_data->nr_params + 15) / 16; in calculate_curbe_offsets()
84 const GLuint nr_vp_regs = (brw->vs.base.prog_data->nr_params + 15) / 16; in calculate_curbe_offsets()
233 brw->wm.base.prog_data->nr_params); in brw_upload_constant_buffer()
274 brw->vs.base.prog_data->nr_params); in brw_upload_constant_buffer()
Dbrw_program_binary.c321 sizeof(uint32_t) * prog_data->nr_params); in brw_write_blob_program_data()
342 prog_data->param = rzalloc_array(NULL, uint32_t, prog_data->nr_params); in brw_read_blob_program_data()
344 sizeof(uint32_t) * prog_data->nr_params); in brw_read_blob_program_data()
Dbrw_tcs.c76 prog_data.base.base.nr_params = 8; in brw_codegen_tcs_prog()
Dbrw_state.h267 unsigned nr_params);
DgenX_state_upload.c1809 if (wm_prog_data->base.nr_params != 0) {
3909 if (prog_data->base.nr_params > 0 ||
/external/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c123 prog_data->nr_params * sizeof(uint32_t)); in iris_disk_cache_store()
212 if (prog_data->nr_params) { in iris_disk_cache_retrieve()
213 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in iris_disk_cache_retrieve()
215 prog_data->nr_params * sizeof(uint32_t)); in iris_disk_cache_retrieve()
Diris_program.c1321 prog_data->nr_params = num_system_values; in iris_compile_tcs()
/external/mesa3d/src/intel/vulkan/
Danv_nir_compute_push_layout.c117 prog_data->nr_params = nir->num_uniforms / 4; in anv_nir_compute_push_layout()
118 prog_data->param = rzalloc_array(mem_ctx, uint32_t, prog_data->nr_params); in anv_nir_compute_push_layout()
238 unsigned prog_data_push_size = DIV_ROUND_UP(prog_data->nr_params, 8); in anv_nir_validate_push_layout()
Danv_pipeline_cache.c58 anv_multialloc_add(&ma, &prog_data_param, prog_data_in->nr_params); in anv_shader_bin_create()
107 prog_data->nr_params * sizeof(*prog_data_param)); in anv_shader_bin_create()
DgenX_pipeline.c2065 ps.PushConstantEnable = wm_prog_data->base.nr_params > 0 ||
/external/mesa3d/src/intel/compiler/
Dbrw_compiler.h703 GLuint nr_params; /**< number of float params/constants */ member
759 unsigned old_nr_params = prog_data->nr_params; in brw_stage_prog_data_add_params()
760 prog_data->nr_params += nr_new_params; in brw_stage_prog_data_add_params()
763 prog_data->nr_params); in brw_stage_prog_data_add_params()
Dbrw_vec4_gs_visitor.cpp863 const unsigned param_count = prog_data->base.base.nr_params; in brw_compile_gs()
886 prog_data->base.base.nr_params = param_count; in brw_compile_gs()
Dbrw_fs.cpp1611 unsigned uniform_push_length = DIV_ROUND_UP(stage_prog_data->nr_params, 8); in assign_curb_setup()
2200 if (prog_data->nr_params == 0) in get_subgroup_id_param_index()
2204 uint32_t last_param = prog_data->param[prog_data->nr_params - 1]; in get_subgroup_id_param_index()
2206 return prog_data->nr_params - 1; in get_subgroup_id_param_index()
2473 stage_prog_data->nr_params = num_push_constants; in assign_constant_locations()
2521 unsigned push_length = DIV_ROUND_UP(stage_prog_data->nr_params, 8); in assign_constant_locations()
9045 subgroup_id_index == (int)prog_data->nr_params - 1); in cs_fill_push_const_info()
9050 per_thread_dwords = prog_data->nr_params; in cs_fill_push_const_info()
9054 per_thread_dwords = prog_data->nr_params - cross_thread_dwords; in cs_fill_push_const_info()
9058 cross_thread_dwords = prog_data->nr_params; in cs_fill_push_const_info()
[all …]
Dbrw_vec4.cpp727 uint32_t *param = ralloc_array(NULL, uint32_t, stage_prog_data->nr_params); in pack_uniform_registers()
729 sizeof(uint32_t) * stage_prog_data->nr_params); in pack_uniform_registers()
1834 stage_prog_data->nr_params = this->uniforms * 4; in setup_uniforms()
Dbrw_fs_visitor.cpp128 stage_prog_data->nr_params = 0; in emit_dummy_fs()
Dbrw_fs_nir.cpp109 assert(uniforms == prog_data->nr_params); in nir_setup_uniforms()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c412 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()
Di915_context.h210 GLuint nr_params; member
Di915_context.c76 if (p && p->nr_params) in i915InvalidateState()
Di915_fragprog.c1111 if (p->nr_params) in track_params()
1114 for (i = 0; i < p->nr_params; i++) { in track_params()
/external/mesa3d/docs/relnotes/
D10.5.2.rst67 - i965: Set nr_params to the number of uniform components in the VS/GS
/external/mesa3d/src/intel/blorp/
Dblorp.c199 wm_prog_data->base.nr_params = 0; in blorp_compile_fs()