Searched refs:max_loc (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 608 layer_loc = l.max_loc; in setup_stateobj() 609 ir3_link_add(&l, VARYING_SLOT_LAYER, layer_regid, 0x1, l.max_loc); in setup_stateobj() 613 pos_loc = l.max_loc; in setup_stateobj() 614 ir3_link_add(&l, VARYING_SLOT_POS, pos_regid, 0xf, l.max_loc); in setup_stateobj() 618 psize_loc = l.max_loc; in setup_stateobj() 619 ir3_link_add(&l, VARYING_SLOT_PSIZ, psize_regid, 0x1, l.max_loc); in setup_stateobj() 628 clip0_loc = l.max_loc; in setup_stateobj() 630 clip_cull_mask & 0xf, l.max_loc); in setup_stateobj() 635 clip1_loc = l.max_loc; in setup_stateobj() 637 clip_cull_mask >> 4, l.max_loc); in setup_stateobj() [all …]
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_program.c | 93 unsigned prog[align(l->max_loc, 2) / 2]; in emit_stream_out() 421 ir3_link_add(&l, VARYING_SLOT_POS, pos_regid, 0xf, l.max_loc); in fd5_program_emit() 424 psize_loc = l.max_loc; in fd5_program_emit() 425 ir3_link_add(&l, VARYING_SLOT_PSIZ, psize_regid, 0x1, l.max_loc); in fd5_program_emit() 434 clip0_loc = l.max_loc; in fd5_program_emit() 436 clip_cull_mask & 0xf, l.max_loc); in fd5_program_emit() 441 clip1_loc = l.max_loc; in fd5_program_emit() 443 clip_cull_mask >> 4, l.max_loc); in fd5_program_emit() 498 OUT_RING(ring, A5XX_VPC_CNTL_0_STRIDE_IN_VPC(l.max_loc) | in fd5_program_emit() 502 fd5_context(ctx)->max_loc = l.max_loc; in fd5_program_emit()
|
D | fd5_context.h | 61 unsigned max_loc; member
|
D | fd5_emit.c | 692 unsigned max_loc = fd5_context(ctx)->max_loc; in fd5_emit_state() local 697 A5XX_PC_PRIMITIVE_CNTL_STRIDE_IN_VPC(max_loc) | in fd5_emit_state()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 1009 uint8_t max_loc; member 1045 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add()
|
D | ir3_shader.c | 966 l->max_loc = MAX2( in ir3_link_stream_out() 967 l->max_loc, l->var[idx].loc + util_last_bit(l->var[idx].compmask)); in ir3_link_stream_out()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 3180 unsigned max_loc = var->data.location + slots - 1; in reserve_explicit_locations() local 3184 if (max_loc + 1 > prog->NumUniformRemapTable) { in reserve_explicit_locations() 3188 max_loc + 1); in reserve_explicit_locations() 3196 for (unsigned i = prog->NumUniformRemapTable; i < max_loc + 1; i++) in reserve_explicit_locations() 3199 prog->NumUniformRemapTable = max_loc + 1; in reserve_explicit_locations() 3246 unsigned max_loc = var->data.location + slots - 1; in reserve_subroutine_explicit_locations() local 3249 if (max_loc + 1 > p->sh.NumSubroutineUniformRemapTable) { in reserve_subroutine_explicit_locations() 3253 max_loc + 1); in reserve_subroutine_explicit_locations() 3261 for (unsigned i = p->sh.NumSubroutineUniformRemapTable; i < max_loc + 1; i++) in reserve_subroutine_explicit_locations() 3264 p->sh.NumSubroutineUniformRemapTable = max_loc + 1; in reserve_subroutine_explicit_locations()
|
D | gl_nir_link_varyings.c | 2293 int max_loc = MAX2(max_loc_in, max_loc_out); in remove_unused_varyings() local 2295 read[i] = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(max_loc)); in remove_unused_varyings() 2296 written[i] = rzalloc_array(mem_ctx, BITSET_WORD, BITSET_WORDS(max_loc)); in remove_unused_varyings()
|
D | ast_to_hir.cpp | 3285 unsigned max_loc = qual_location + var->type->uniform_locations() - 1; in apply_explicit_location() local 3287 if (max_loc >= consts->MaxUserAssignableUniformLocations) { in apply_explicit_location()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 1059 layer_loc = linkage.max_loc; in tu6_emit_vpc() 1060 ir3_link_add(&linkage, VARYING_SLOT_LAYER, layer_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1064 view_loc = linkage.max_loc; in tu6_emit_vpc() 1065 ir3_link_add(&linkage, VARYING_SLOT_VIEWPORT, view_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1075 position_loc = linkage.max_loc; in tu6_emit_vpc() 1084 pointsize_loc = linkage.max_loc; in tu6_emit_vpc() 1085 ir3_link_add(&linkage, VARYING_SLOT_PSIZ, pointsize_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1093 clip0_loc = linkage.max_loc; in tu6_emit_vpc() 1095 clip_cull_mask & 0xf, linkage.max_loc); in tu6_emit_vpc() 1098 clip1_loc = linkage.max_loc; in tu6_emit_vpc() [all …]
|