Home
last modified time | relevance | path

Searched refs:prim_mask (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c117 unsigned chan, LLVMValueRef prim_mask, LLVMValueRef i, in si_build_fs_interp() argument
122 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask, i, j); in si_build_fs_interp()
126 LLVMConstInt(ctx->ac.i32, attr_index, 0), prim_mask); in si_build_fs_interp()
145 LLVMValueRef prim_mask, LLVMValueRef face, LLVMValueRef result[4]) in interp_fs_color() argument
188 front = si_build_fs_interp(ctx, input_index, chan, prim_mask, i, j); in interp_fs_color()
189 back = si_build_fs_interp(ctx, back_attr_offset, chan, prim_mask, i, j); in interp_fs_color()
195 result[chan] = si_build_fs_interp(ctx, input_index, chan, prim_mask, i, j); in interp_fs_color()
780 LLVMValueRef interp_ij = NULL, prim_mask = NULL, face = NULL; in si_llvm_build_ps_prolog() local
797 prim_mask = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_llvm_build_ps_prolog()
805 key->ps_prolog.colors_read, interp_ij, prim_mask, face, color); in si_llvm_build_ps_prolog()
Dsi_shader.c639 si_add_arg_checked(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.prim_mask, in si_init_shader_args()
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h124 struct ac_arg prim_mask; member
/third_party/mesa3d/src/virtio/virtio-gpu/
Dvirgl_hw.h540 uint32_t prim_mask; member
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c900 if (!(rs->caps.caps.v1.prim_mask & (1 << dinfo->mode))) { in virgl_draw_vbo()
1654 vctx->primconvert = util_primconvert_create(&vctx->base, rs->caps.caps.v1.prim_mask); in virgl_context_create()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c724 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.prim_mask); in radv_declare_shader_args()
Dradv_nir_to_llvm.c849 LLVMBuildICmp(ctx->ac.builder, LLVMIntSLT, ac_get_arg(&ctx->ac, ctx->args->ac.prim_mask), in prepare_interp_optimize()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4753 Temp prim_mask) in emit_interp_instr() argument
4765 bld.m0(prim_mask), idx, component); in emit_interp_instr()
4767 bld.m0(prim_mask), interp_p1, idx, component); in emit_interp_instr()
4768 bld.vintrp(aco_opcode::v_interp_p2_legacy_f16, Definition(dst), coord2, bld.m0(prim_mask), in emit_interp_instr()
4777 bld.m0(prim_mask), idx, component); in emit_interp_instr()
4778 bld.vintrp(interp_p2_op, Definition(dst), coord2, bld.m0(prim_mask), interp_p1, idx, in emit_interp_instr()
4783 bld.m0(prim_mask), idx, component); in emit_interp_instr()
4788 bld.vintrp(aco_opcode::v_interp_p2_f32, Definition(dst), coord2, bld.m0(prim_mask), interp_p1, in emit_interp_instr()
4883 Temp prim_mask = get_arg(ctx, ctx->args->ac.prim_mask); in visit_load_interpolated_input() local
4888 emit_interp_instr(ctx, idx, component, coords, dst, prim_mask); in visit_load_interpolated_input()
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3366 ac_get_arg(&ctx->ac, ctx->args->prim_mask), i, j, in load_interpolated_input()
3370 ac_get_arg(&ctx->ac, ctx->args->prim_mask), i, j); in load_interpolated_input()
3489 attr_number, ac_get_arg(&ctx->ac, ctx->args->prim_mask)); in visit_load()