Home
last modified time | relevance | path

Searched refs:num_uniforms (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/
Dlink_atomics.cpp46 : uniforms(0), num_uniforms(0), stage_counter_references(), size(0) in active_atomic_buffer()
60 (num_uniforms + 1)); in push_back()
68 uniforms[num_uniforms].uniform_loc = uniform_loc; in push_back()
69 uniforms[num_uniforms].var = var; in push_back()
70 num_uniforms++; in push_back()
74 unsigned num_uniforms; member
178 qsort(buffers[i].uniforms, buffers[i].num_uniforms, in find_active_atomic_counters()
182 for (unsigned j = 1; j < buffers[i].num_uniforms; j++) { in find_active_atomic_counters()
231 ab.num_uniforms); in link_assign_atomic_counter_resources()
232 mab.NumUniforms = ab.num_uniforms; in link_assign_atomic_counter_resources()
[all …]
/external/mesa3d/src/broadcom/compiler/
Dvir_to_qpu.c161 c->num_uniforms++; in v3d_generate_code_block()
186 c->num_uniforms++; in v3d_generate_code_block()
320 c->num_uniforms = 0; in v3d_vir_to_qpu()
Dvir.c593 int count = c->num_uniforms; in v3d_set_prog_data_uniforms()
838 for (int i = 0; i < c->num_uniforms; i++) { in vir_uniform()
845 uint32_t uniform = c->num_uniforms++; in vir_uniform()
Dqpu_schedule.c1477 c->num_uniforms); in v3d_qpu_schedule_instructions()
1478 c->uniform_data = ralloc_array(c, uint32_t, c->num_uniforms); in v3d_qpu_schedule_instructions()
1479 c->uniform_array_size = c->num_uniforms; in v3d_qpu_schedule_instructions()
1526 assert(next_uniform == c->num_uniforms); in v3d_qpu_schedule_instructions()
Dv3d_compiler.h493 uint32_t num_uniforms; member
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_reorder_uniforms.c89 c->num_uniforms = next_uniform; in qir_reorder_uniforms()
Dvc4_qpu_schedule.c1119 c->num_uniforms); in qpu_schedule_instructions()
1120 c->uniform_data = ralloc_array(c, uint32_t, c->num_uniforms); in qpu_schedule_instructions()
1121 c->uniform_array_size = c->num_uniforms; in qpu_schedule_instructions()
1161 assert(next_uniform == c->num_uniforms); in qpu_schedule_instructions()
Dvc4_qir.c723 for (int i = 0; i < c->num_uniforms; i++) { in qir_uniform()
730 uint32_t uniform = c->num_uniforms++; in qir_uniform()
Dvc4_qir.h491 uint32_t num_uniforms; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tcs.c58 nir->num_uniforms = 8 * sizeof(uint32_t); in create_passthrough_tcs()
194 assert(nir->num_uniforms == 32); in brw_codegen_tcs_prog()
Dbrw_nir_uniforms.cpp195 unsigned nr_params = shader->num_uniforms / 4; in brw_nir_setup_glsl_uniforms()
Dbrw_program.c55 nir_assign_var_locations(&nir->uniforms, &nir->num_uniforms, in brw_nir_lower_uniforms()
59 nir_assign_var_locations(&nir->uniforms, &nir->num_uniforms, in brw_nir_lower_uniforms()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c413 if (nir->num_uniforms > 0) { in anv_pipeline_compile()
419 assert(nir->num_uniforms <= MAX_PUSH_CONSTANTS_SIZE); in anv_pipeline_compile()
420 nir->num_uniforms = MAX_PUSH_CONSTANTS_SIZE; in anv_pipeline_compile()
447 assert(nir->num_uniforms == prog_data->nr_params * 4); in anv_pipeline_compile()
Danv_nir_apply_pipeline_layout.c483 var->data.driver_location = shader->num_uniforms + in anv_nir_apply_pipeline_layout()
512 shader->num_uniforms += map->image_count * BRW_IMAGE_PARAM_SIZE * 4; in anv_nir_apply_pipeline_layout()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate_shaders.c286 uint32_t num_uniforms = validated_shader->uniforms_size / 4; in require_uniform_address_uniform() local
296 validated_shader->uniform_addr_offsets[o] = num_uniforms; in require_uniform_address_uniform()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_shader.h233 unsigned num_uniforms; member
Dir3_cmdline.c159 &nir->num_uniforms, in load_glsl()
Dir3_compiler_nir.c208 so->num_uniforms = ctx->s->num_uniforms; in compile_init()
227 unsigned constoff = align(ctx->s->num_uniforms, 4); in compile_init()
1966 ctx->so->constlen = ctx->s->num_uniforms; in emit_intrinsic()
Dir3_shader.c560 uint32_t max_const = MIN2(v->num_uniforms, v->constlen); in emit_user_consts()
/external/mesa3d/src/compiler/nir/
Dnir_clone.c774 ns->num_uniforms = s->num_uniforms; in nir_shader_clone()
Dnir_serialize.c1133 blob_write_uint32(blob, nir->num_uniforms); in nir_serialize()
1188 ctx.nir->num_uniforms = blob_read_uint32(blob); in nir_deserialize()
/external/mesa3d/src/mesa/main/
Dshaderapi.c710 const unsigned num_uniforms = in get_programiv() local
712 for (*params = 0, i = 0; i < num_uniforms; i++) { in get_programiv()
721 const unsigned num_uniforms = in get_programiv() local
724 for (i = 0; i < num_uniforms; i++) { in get_programiv()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp719 &nir->uniforms, &nir->num_uniforms); in st_finalize_nir()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c2234 int num_uniforms = c->imm_base / 4 + (c->imm_size + 3) / 4; in etna_compile_check_limits() local
2248 if (num_uniforms > max_uniforms) { in etna_compile_check_limits()
2249 DBG("Number of uniforms (%d) exceeds maximum %d", num_uniforms, in etna_compile_check_limits()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp37 if (nir->num_uniforms > 0) in emit_nir_code()
51 uniforms = nir->num_uniforms / 16; in nir_setup_uniforms()

12