Home
last modified time | relevance | path

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

/external/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/
Dinterp-intrinsics.ll5 define amdgpu_ps void @fs_interp(i32 inreg %prim_mask, <2 x i32> %interp_param) #1 {
6 %v = call float @llvm.SI.fs.interp(i32 0, i32 0, i32 %prim_mask, <2 x i32> %interp_param)
13 define amdgpu_ps void @fs_constant(i32 inreg %prim_mask, <2 x i32> %interp_param) #1 {
14 %v = call float @llvm.SI.fs.constant(i32 0, i32 0, i32 %prim_mask)
/external/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()
784 LLVMValueRef interp_ij = NULL, prim_mask = NULL, face = NULL; in si_llvm_build_ps_prolog() local
801 prim_mask = LLVMGetParam(func, SI_PS_NUM_USER_SGPR); in si_llvm_build_ps_prolog()
809 key->ps_prolog.colors_read, interp_ij, prim_mask, face, color); in si_llvm_build_ps_prolog()
Dsi_shader.c622 si_add_arg_checked(&ctx->args, AC_ARG_SGPR, 1, AC_ARG_INT, &ctx->args.prim_mask, in si_create_function()
/external/mesa3d/src/amd/common/
Dac_shader_args.h87 struct ac_arg prim_mask; member
/external/minigbm/external/
Dvirgl_hw.h359 uint32_t prim_mask; member
/external/mesa3d/src/virtio/virtio-gpu/
Dvirgl_hw.h504 uint32_t prim_mask; member
/external/virglrenderer/src/
Dvirgl_hw.h536 uint32_t prim_mask; member
Dvrend_renderer.c9906 caps->v1.prim_mask = (1 << PIPE_PRIM_POINTS) | (1 << PIPE_PRIM_LINES) | in vrend_renderer_fill_caps_v1()
9914 caps->v1.prim_mask |= (1 << PIPE_PRIM_QUADS) | in vrend_renderer_fill_caps_v1()
9920 caps->v1.prim_mask |= (1 << PIPE_PRIM_LINES_ADJACENCY) | in vrend_renderer_fill_caps_v1()
9926 caps->v1.prim_mask |= (1 << PIPE_PRIM_PATCHES); in vrend_renderer_fill_caps_v1()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c863 if (!(rs->caps.caps.v1.prim_mask & (1 << dinfo->mode))) { in virgl_draw_vbo()
1568 vctx->primconvert = util_primconvert_create(&vctx->base, rs->caps.caps.v1.prim_mask); in virgl_context_create()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.c679 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.c1308 ac_get_arg(&ctx->ac, ctx->args->ac.prim_mask), in prepare_interp_optimize()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp4468 …terp_instr(isel_context *ctx, unsigned idx, unsigned component, Temp src, Temp dst, Temp prim_mask) in emit_interp_instr() argument
4480 Operand(2u) /* P0 */, bld.m0(prim_mask), idx, component); in emit_interp_instr()
4482 coord1, bld.m0(prim_mask), interp_p1, idx, component); in emit_interp_instr()
4484 bld.m0(prim_mask), interp_p1, idx, component); in emit_interp_instr()
4493 coord1, bld.m0(prim_mask), idx, component); in emit_interp_instr()
4494 bld.vintrp(interp_p2_op, Definition(dst), coord2, bld.m0(prim_mask), in emit_interp_instr()
4500 bld.m0(prim_mask), idx, component); in emit_interp_instr()
4506 bld.m0(prim_mask), interp_p1, idx, component); in emit_interp_instr()
4536 Temp prim_mask = get_arg(ctx, ctx->args->ac.prim_mask); in visit_load_interpolated_input() local
4541 emit_interp_instr(ctx, idx, component, coords, dst, prim_mask); in visit_load_interpolated_input()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3143 ac_get_arg(&ctx->ac, ctx->args->prim_mask), i, j); in load_interpolated_input()
3146 ac_get_arg(&ctx->ac, ctx->args->prim_mask), i, j); in load_interpolated_input()
3258 attr_number, ac_get_arg(&ctx->ac, ctx->args->prim_mask)); in visit_load()