Searched refs:ballot (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_subgroups.c88 /* SPIR-V uses a uvec4 for ballot values */
101 /* GLSL uses a uint64_t for ballot values */
213 nir_intrinsic_instr *ballot = local in function:lower_vote_eq_to_ballot
215 nir_ssa_dest_init(&ballot->instr, &ballot->dest,
217 ballot->num_components = 1;
218 ballot->src[0] = nir_src_for_ssa(nir_inot(b, all_eq));
219 nir_builder_instr_insert(b, &ballot->instr);
221 return nir_ieq(b, &ballot->dest.ssa,
375 nir_intrinsic_instr *ballot local in function:lower_subgroups_intrin
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dvtn_subgroup.c94 nir_intrinsic_instr *ballot = local in function:vtn_handle_subgroup
96 ballot->src[0] = nir_src_for_ssa(vtn_ssa_value(b, w[4])->def);
97 nir_ssa_dest_init(&ballot->instr, &ballot->dest, 4, 32, NULL);
98 ballot->num_components = 4;
99 nir_builder_instr_insert(&b->nb, &ballot->instr);
100 val->ssa->def = &ballot->dest.ssa;
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_subgroup.c97 nir_intrinsic_instr *ballot = local in function:vtn_handle_subgroup
99 ballot->src[0] = nir_src_for_ssa(vtn_get_nir_ssa(b, w[3 + has_scope]));
100 nir_ssa_dest_init(&ballot->instr, &ballot->dest, 4, 32, NULL);
101 ballot->num_components = 4;
102 nir_builder_instr_insert(&b->nb, &ballot->instr);
103 vtn_push_nir_ssa(b, w[2], &ballot->dest.ssa);
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.0.6.rst92 - nir/lower_subgroups: Mask off unused bits in ballot ops
H A D20.0.3.rst160 - radv/gfx10: fix required ballot size with
H A D21.3.0.rst2903 - zink: lower subgroup ballot instructions
2904 - zink: implement compiler handling for subgroup ballot builtins/intrinsics
4115 - aco: Swap s_and operand order for ballot.
H A D21.2.0.rst1510 - nir/subgroups: Support > 1 ballot components
3023 - nir/lower_subgroups: Pad ballot values before bitcasting
5034 - ac/nir: Use a ballot that matches the wave size during NGG lowering.
H A D20.1.0.rst2489 - nir/lower_subgroups: Mask off unused bits in ballot ops
3923 - radv/gfx10: fix required ballot size with
H A D19.3.0.rst679 - anv: Enable VK_EXT_shader_subgroup_{ballot,vote}
H A D20.0.0.rst3413 - aco/wave32: Allow setting the subgroup ballot size to 64-bit.
H A D19.1.0.rst2448 - nv50/ir/nir: implement vote and ballot
H A D20.2.0.rst4400 - radv: remove the shader ballot workaround for Youngblood with LLVM
H A D21.1.0.rst1624 - gallivm: add subgroup ballot support
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.h196 void (*ballot)(struct lp_build_nir_context *bld_base, LLVMValueRef src, nir_intrinsic_instr *instr, LLVMValueRef dst[4]); member in struct:lp_build_nir_context
H A Dlp_bld_nir.c1903 bld_base->ballot(bld_base, cast_type(bld_base, get_src(bld_base, instr->src[0]), nir_type_int, 32), instr, result);
H A Dlp_bld_nir_soa.c2503 bld.bld_base.ballot = emit_ballot;
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_subgroups.c68 /* Only the new-style SPIR-V subgroup instructions take a ballot result as
94 * VK_EXT_shader_subgroup_ballot which have 64-bit ballot values on an
95 * architecture with a native 128-bit uvec4 ballot. This comes up in Zink
98 * have enough ballot bits.
312 /* Return a ballot-mask-sized value which represents "val" sign-extended and
323 /* First compute the result assuming one ballot component. */
336 * the target ballot size is 2 x uint32, and we're shifting 1 by 33, then
399 /* First compute the result assuming one ballot component. */
405 /* Since the subgroup size and ballot bitsize are both powers of two, there
408 * (1) The subgroup size is less than the ballot bitsiz
611 nir_ssa_def *ballot = local in function:lower_subgroups_instr
[all...]
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Ddisasm-a3xx.c190 OPC(1, OPC_BALLOT_MACRO, ballot.macro),
H A Dir3_compiler_nir.c2125 struct ir3_instruction *ballot; local in function:emit_intrinsic
2128 /* ballot(true) is just MOVMSK */
2129 ballot = ir3_MOVMSK(ctx->block, components);
2133 ballot = ir3_BALLOT_MACRO(ctx->block, pred, components);
2134 ballot->srcs[0]->num = regid(REG_P0, 0);
2135 array_insert(ctx->ir, ctx->ir->predicates, ballot);
2138 ir3_split_dest(ctx->block, dst, ballot, 0, components);

Completed in 96 milliseconds