Home
last modified time | relevance | path

Searched refs:frag_pos (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_shader_abi.h52 LLVMValueRef frag_pos[4]; member
Dac_nir_to_llvm.c1047 add_arg(&args, ARG_VGPR, ctx->ac.f32, &ctx->abi.frag_pos[0]); in create_function()
1048 add_arg(&args, ARG_VGPR, ctx->ac.f32, &ctx->abi.frag_pos[1]); in create_function()
1049 add_arg(&args, ARG_VGPR, ctx->ac.f32, &ctx->abi.frag_pos[2]); in create_function()
1050 add_arg(&args, ARG_VGPR, ctx->ac.f32, &ctx->abi.frag_pos[3]); in create_function()
3566 LLVMBuildFPToUI(ctx->ac.builder, ctx->abi->frag_pos[chan], in get_image_coords()
3591 …MBuildAdd(ctx->ac.builder, coords[chan], LLVMBuildFPToUI(ctx->ac.builder, ctx->abi->frag_pos[chan], in get_image_coords()
4077 values[0] = emit_ffract(&ctx->ac, ctx->abi->frag_pos[0]); in load_sample_pos()
4078 values[1] = emit_ffract(&ctx->ac, ctx->abi->frag_pos[1]); in load_sample_pos()
4417 ctx->abi->frag_pos[0], in visit_intrinsic()
4418 ctx->abi->frag_pos[1], in visit_intrinsic()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c69 struct ir3_instruction *frag_pos, *frag_face, *frag_coord[4]; member
688 instr = ir3_BARY_F(block, inloc, 0, ctx->frag_pos, 0); in create_frag_input()
3112 ctx->frag_pos = instr; in emit_instructions()
3204 ctx->frag_pos->regs[1]->instr = instr; in fixup_frag_inputs()
3210 ctx->frag_pos->regs[2]->instr = instr; in fixup_frag_inputs()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c4903 &ctx->abi.frag_pos[0], SI_PARAM_POS_X_FLOAT); in create_function()
4905 &ctx->abi.frag_pos[1], SI_PARAM_POS_Y_FLOAT); in create_function()
4907 &ctx->abi.frag_pos[2], SI_PARAM_POS_Z_FLOAT); in create_function()
4909 &ctx->abi.frag_pos[3], SI_PARAM_POS_W_FLOAT); in create_function()