Searched refs:ballot (Results 1 - 10 of 10) sorted by relevance
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_subgroup.c | 97 nir_intrinsic_instr *ballot = in vtn_handle_subgroup() local 99 ballot->src[0] = nir_src_for_ssa(vtn_get_nir_ssa(b, w[3 + has_scope])); in vtn_handle_subgroup() 100 nir_ssa_dest_init(&ballot->instr, &ballot->dest, 4, 32, NULL); in vtn_handle_subgroup() 101 ballot->num_components = 4; in vtn_handle_subgroup() 102 nir_builder_instr_insert(&b->nb, &ballot->instr); in vtn_handle_subgroup() 103 vtn_push_nir_ssa(b, w[2], &ballot->dest.ssa); in vtn_handle_subgroup()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_kernel.c | 117 nir_intrinsic_instr *ballot = in implement_sub_group_ballot_builtin() local 119 ballot->src[0] = nir_src_for_ssa(cond); in implement_sub_group_ballot_builtin() 120 ballot->num_components = 1; in implement_sub_group_ballot_builtin() 121 nir_ssa_dest_init(&ballot->instr, &ballot->dest, 1, 32, NULL); in implement_sub_group_ballot_builtin() 122 nir_builder_instr_insert(&b, &ballot->instr); in implement_sub_group_ballot_builtin() 124 nir_store_deref(&b, ret, &ballot->dest.ssa, ~0); in implement_sub_group_ballot_builtin()
|
/third_party/skia/third_party/externals/spirv-tools/ |
H A D | Android.mk | 223 $(1)/spv-amd-shader-ballot.insts.inc \ 227 $(1)/spv-amd-shader-ballot.insts.inc 271 $(eval $(call gen_spvtools_vendor_tables,$(SPVTOOLS_OUT_PATH),spv-amd-shader-ballot,""))
|
/third_party/spirv-tools/ |
H A D | Android.mk | 239 $(1)/spv-amd-shader-ballot.insts.inc \ 243 $(1)/spv-amd-shader-ballot.insts.inc 287 $(eval $(call gen_spvtools_vendor_tables,$(SPVTOOLS_OUT_PATH),spv-amd-shader-ballot,""))
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_nir.h | 212 void (*ballot)(struct lp_build_nir_context *bld_base, LLVMValueRef src, nir_intrinsic_instr *instr, LLVMValueRef dst[4]); member
|
H A D | lp_bld_nir.c | 2177 bld_base->ballot(bld_base, cast_type(bld_base, get_src(bld_base, instr->src[0]), nir_type_int, 32), instr, result); in visit_intrinsic()
|
H A D | lp_bld_nir_soa.c | 2748 bld.bld_base.ballot = emit_ballot; in lp_build_nir_soa()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_subgroups.c | 68 /* Only the new-style SPIR-V subgroup instructions take a ballot result as in ballot_type_to_uint() 94 * VK_EXT_shader_subgroup_ballot which have 64-bit ballot values on an in uint_to_ballot_type() 95 * architecture with a native 128-bit uvec4 ballot. This comes up in Zink in uint_to_ballot_type() 98 * have enough ballot bits. in uint_to_ballot_type() 391 /* Return a ballot-mask-sized value which represents "val" sign-extended and 402 /* First compute the result assuming one ballot component. */ in build_ballot_imm_ishl() 415 * the target ballot size is 2 x uint32, and we're shifting 1 by 33, then in build_ballot_imm_ishl() 478 /* First compute the result assuming one ballot component. */ in build_subgroup_mask() 484 /* Since the subgroup size and ballot bitsize are both powers of two, there in build_subgroup_mask() 487 * (1) The subgroup size is less than the ballot bitsiz in build_subgroup_mask() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_compiler_nir.c | 2560 struct ir3_instruction *ballot; in emit_intrinsic() local 2563 /* ballot(true) is just MOVMSK */ in emit_intrinsic() 2564 ballot = ir3_MOVMSK(ctx->block, components); in emit_intrinsic() 2568 ballot = ir3_BALLOT_MACRO(ctx->block, pred, components); in emit_intrinsic() 2569 ballot->srcs[0]->num = regid(REG_P0, 0); in emit_intrinsic() 2570 array_insert(ctx->ir, ctx->ir->predicates, ballot); in emit_intrinsic() 2574 ballot->barrier_class = IR3_BARRIER_ACTIVE_FIBERS_R; in emit_intrinsic() 2575 ballot->barrier_conflict = IR3_BARRIER_ACTIVE_FIBERS_W; in emit_intrinsic() 2577 ir3_split_dest(ctx->block, dst, ballot, 0, components); in emit_intrinsic()
|
H A D | disasm-a3xx.c | 188 OPC(1, OPC_BALLOT_MACRO, ballot.macro),
|
Completed in 24 milliseconds