Searched refs:max_loc (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 198 prog_count = align(l->max_loc, 2) / 2; in setup_stream_out() 562 layer_loc = l.max_loc; in setup_stateobj() 563 ir3_link_add(&l, layer_regid, 0x1, l.max_loc); in setup_stateobj() 567 pos_loc = l.max_loc; in setup_stateobj() 568 ir3_link_add(&l, pos_regid, 0xf, l.max_loc); in setup_stateobj() 572 psize_loc = l.max_loc; in setup_stateobj() 573 ir3_link_add(&l, psize_regid, 0x1, l.max_loc); in setup_stateobj() 582 clip0_loc = l.max_loc; in setup_stateobj() 583 ir3_link_add(&l, clip0_regid, clip_cull_mask & 0xf, l.max_loc); in setup_stateobj() 588 clip1_loc = 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() 411 ir3_link_add(&l, pos_regid, 0xf, l.max_loc); in fd5_program_emit() 414 psize_loc = l.max_loc; in fd5_program_emit() 415 ir3_link_add(&l, psize_regid, 0x1, l.max_loc); in fd5_program_emit() 424 clip0_loc = l.max_loc; in fd5_program_emit() 425 ir3_link_add(&l, clip0_regid, clip_cull_mask & 0xf, l.max_loc); in fd5_program_emit() 430 clip1_loc = l.max_loc; in fd5_program_emit() 431 ir3_link_add(&l, clip1_regid, clip_cull_mask >> 4, l.max_loc); in fd5_program_emit() 486 OUT_RING(ring, A5XX_VPC_CNTL_0_STRIDE_IN_VPC(l.max_loc) | in fd5_program_emit() 490 fd5_context(ctx)->max_loc = l.max_loc; in fd5_program_emit()
|
D | fd5_context.h | 64 unsigned max_loc; member
|
D | fd5_emit.c | 700 unsigned max_loc = fd5_context(ctx)->max_loc; in fd5_emit_state() local 705 A5XX_PC_PRIMITIVE_CNTL_STRIDE_IN_VPC(max_loc) | in fd5_emit_state()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 868 uint8_t max_loc; member 903 l->max_loc = MAX2(l->max_loc, loc + util_last_bit(compmask)); in ir3_link_add()
|
D | ir3_shader.c | 839 l->max_loc = MAX2( in ir3_link_stream_out() 840 l->max_loc, l->var[idx].loc + util_last_bit(l->var[idx].compmask)); in ir3_link_stream_out()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 1008 layer_loc = linkage.max_loc; in tu6_emit_vpc() 1009 ir3_link_add(&linkage, layer_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1013 view_loc = linkage.max_loc; in tu6_emit_vpc() 1014 ir3_link_add(&linkage, view_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1024 position_loc = linkage.max_loc; in tu6_emit_vpc() 1032 pointsize_loc = linkage.max_loc; in tu6_emit_vpc() 1033 ir3_link_add(&linkage, pointsize_regid, 0x1, linkage.max_loc); in tu6_emit_vpc() 1041 clip0_loc = linkage.max_loc; in tu6_emit_vpc() 1042 ir3_link_add(&linkage, clip0_regid, clip_cull_mask & 0xf, linkage.max_loc); in tu6_emit_vpc() 1045 clip1_loc = linkage.max_loc; in tu6_emit_vpc() [all …]
|
/third_party/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 3457 unsigned max_loc = var->data.location + slots - 1; in reserve_explicit_locations() local 3461 if (max_loc + 1 > prog->NumUniformRemapTable) { in reserve_explicit_locations() 3465 max_loc + 1); in reserve_explicit_locations() 3473 for (unsigned i = prog->NumUniformRemapTable; i < max_loc + 1; i++) in reserve_explicit_locations() 3476 prog->NumUniformRemapTable = max_loc + 1; in reserve_explicit_locations() 3523 unsigned max_loc = var->data.location + slots - 1; in reserve_subroutine_explicit_locations() local 3526 if (max_loc + 1 > p->sh.NumSubroutineUniformRemapTable) { in reserve_subroutine_explicit_locations() 3530 max_loc + 1); in reserve_subroutine_explicit_locations() 3538 for (unsigned i = p->sh.NumSubroutineUniformRemapTable; i < max_loc + 1; i++) in reserve_subroutine_explicit_locations() 3541 p->sh.NumSubroutineUniformRemapTable = max_loc + 1; in reserve_subroutine_explicit_locations()
|
D | ast_to_hir.cpp | 3271 unsigned max_loc = qual_location + var->type->uniform_locations() - 1; in apply_explicit_location() local 3273 if (max_loc >= ctx->Const.MaxUserAssignableUniformLocations) { in apply_explicit_location()
|