/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | gfx6_constant_state.c | 107 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()
|
D | brw_nir_uniforms.cpp | 221 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()
|
D | brw_curbe.c | 81 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()
|
D | brw_program_binary.c | 321 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()
|
D | brw_state.h | 267 unsigned nr_params);
|
D | brw_tcs.c | 78 prog_data.base.base.nr_params = 8; in brw_codegen_tcs_prog()
|
D | genX_state_upload.c | 1808 if (wm_prog_data->base.nr_params != 0) { 3908 if (prog_data->base.nr_params > 0 ||
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 119 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/ |
D | iris_disk_cache.c | 123 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()
|
D | iris_program.c | 1525 prog_data->nr_params = num_system_values; in iris_compile_tcs()
|
/third_party/mesa3d/src/intel/blorp/ |
D | blorp.c | 223 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/ |
D | anv_nir_compute_push_layout.c | 128 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()
|
D | anv_pipeline_cache.c | 53 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()
|
D | genX_pipeline.c | 2293 ps.PushConstantEnable = wm_prog_data->base.nr_params > 0 ||
|
D | anv_pipeline.c | 2993 .base.nr_params = 4, in anv_device_init_rt_shaders()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_compiler.h | 756 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()
|
D | brw_vec4_gs_visitor.cpp | 868 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()
|
D | brw_vec4.cpp | 727 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()
|
D | brw_fs.cpp | 1665 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 …]
|
D | brw_fs_visitor.cpp | 128 stage_prog_data->nr_params = 0; in emit_dummy_fs()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_program.c | 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()
|
D | i915_context.h | 210 GLuint nr_params; member
|
D | i915_context.c | 78 if (p && p->nr_params) in i915InvalidateState()
|
D | i915_fragprog.c | 1111 if (p->nr_params) in track_params() 1114 for (i = 0; i < p->nr_params; i++) { in track_params()
|
/third_party/mesa3d/docs/relnotes/ |
D | 10.5.2.rst | 67 - i965: Set nr_params to the number of uniform components in the VS/GS
|