Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dgfx6_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 gfx6_upload_push_constants()
157 const int size = prog_data->nr_params * sizeof(gl_constant_value); in gfx6_upload_push_constants()
178 prog_data->nr_params); in gfx6_upload_push_constants()
183 for (i = 0; i < prog_data->nr_params; i++) { in gfx6_upload_push_constants()
196 stage_state->push_const_size = ALIGN(prog_data->nr_params, 8) / 8; in gfx6_upload_push_constants()
347 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_state.h267 unsigned nr_params);
Dbrw_tcs.c78 prog_data.base.base.nr_params = 8; in brw_codegen_tcs_prog()
DgenX_state_upload.c1808 if (wm_prog_data->base.nr_params != 0) {
3908 if (prog_data->base.nr_params > 0 ||
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_disk_cache.c119 prog_data->nr_params * sizeof(uint32_t)); in crocus_disk_cache_store()
187 if (prog_data->nr_params) { in crocus_disk_cache_retrieve()
188 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in crocus_disk_cache_retrieve()
190 prog_data->nr_params * sizeof(uint32_t)); in crocus_disk_cache_retrieve()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c123 prog_data->nr_params * sizeof(uint32_t)); in iris_disk_cache_store()
213 if (prog_data->nr_params) { in iris_disk_cache_retrieve()
214 prog_data->param = ralloc_array(NULL, uint32_t, prog_data->nr_params); in iris_disk_cache_retrieve()
216 prog_data->nr_params * sizeof(uint32_t)); in iris_disk_cache_retrieve()
Diris_program.c1525 prog_data->nr_params = num_system_values; in iris_compile_tcs()
/third_party/mesa3d/src/intel/blorp/
Dblorp.c223 wm_prog_data->base.nr_params = 0; in blorp_compile_fs()
320 unsigned nr_params = nir->num_uniforms / 4; in blorp_compile_cs() local
321 cs_prog_data->base.nr_params = nr_params; in blorp_compile_cs()
322 cs_prog_data->base.param = rzalloc_array(NULL, uint32_t, nr_params); in blorp_compile_cs()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_compute_push_layout.c128 prog_data->nr_params = nir->num_uniforms / 4; in anv_nir_compute_push_layout()
129 prog_data->param = rzalloc_array(mem_ctx, uint32_t, prog_data->nr_params); in anv_nir_compute_push_layout()
276 unsigned prog_data_push_size = DIV_ROUND_UP(prog_data->nr_params, 8); in anv_nir_validate_push_layout()
Danv_pipeline_cache.c53 VK_MULTIALLOC_DECL(&ma, uint32_t, prog_data_param, prog_data_in->nr_params); in anv_shader_bin_create()
123 prog_data->nr_params * sizeof(*prog_data_param)); in anv_shader_bin_create()
DgenX_pipeline.c2293 ps.PushConstantEnable = wm_prog_data->base.nr_params > 0 ||
Danv_pipeline.c2993 .base.nr_params = 4, in anv_device_init_rt_shaders()
/third_party/mesa3d/src/intel/compiler/
Dbrw_compiler.h756 GLuint nr_params; /**< number of float params/constants */ member
814 unsigned old_nr_params = prog_data->nr_params; in brw_stage_prog_data_add_params()
815 prog_data->nr_params += nr_new_params; in brw_stage_prog_data_add_params()
818 prog_data->nr_params); in brw_stage_prog_data_add_params()
Dbrw_vec4_gs_visitor.cpp868 const unsigned param_count = prog_data->base.base.nr_params; in brw_compile_gs()
891 prog_data->base.base.nr_params = param_count; in brw_compile_gs()
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()
778 stage_prog_data->nr_params = new_uniform_count * 4; in pack_uniform_registers()
1824 push_length = DIV_ROUND_UP(prog_data->base.nr_params, 8); in setup_push_ranges()
1846 push_length = DIV_ROUND_UP(prog_data->base.nr_params, 8); in setup_uniforms()
Dbrw_fs.cpp1665 unsigned uniform_push_length = DIV_ROUND_UP(stage_prog_data->nr_params, 8); in assign_curb_setup()
2339 if (prog_data->nr_params == 0) in get_subgroup_id_param_index()
2346 uint32_t last_param = prog_data->param[prog_data->nr_params - 1]; in get_subgroup_id_param_index()
2348 return prog_data->nr_params - 1; in get_subgroup_id_param_index()
2616 stage_prog_data->nr_params = num_push_constants; in assign_constant_locations()
2671 unsigned push_length = DIV_ROUND_UP(stage_prog_data->nr_params, 8); in assign_constant_locations()
9994 subgroup_id_index == (int)prog_data->nr_params - 1); in cs_fill_push_const_info()
9999 per_thread_dwords = prog_data->nr_params; in cs_fill_push_const_info()
10003 per_thread_dwords = prog_data->nr_params - cross_thread_dwords; in cs_fill_push_const_info()
10007 cross_thread_dwords = prog_data->nr_params; in cs_fill_push_const_info()
[all …]
Dbrw_fs_visitor.cpp128 stage_prog_data->nr_params = 0; in emit_dummy_fs()
/third_party/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.c78 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()
/third_party/mesa3d/docs/relnotes/
D10.5.2.rst67 - i965: Set nr_params to the number of uniform components in the VS/GS

12