Home
last modified time | relevance | path

Searched refs:frag_coord (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/intel/blorp/
Dblorp_nir_builder.h29 nir_variable *frag_coord = in blorp_nir_frag_coord() local
33 frag_coord->data.location = VARYING_SLOT_POS; in blorp_nir_frag_coord()
34 frag_coord->data.origin_upper_left = true; in blorp_nir_frag_coord()
36 return nir_load_var(b, frag_coord); in blorp_nir_frag_coord()
Dblorp_blit.c61 nir_variable *frag_coord; member
87 v->frag_coord = nir_variable_create(b->shader, nir_var_shader_in, in brw_blorp_blit_vars_init()
89 v->frag_coord->data.location = VARYING_SLOT_POS; in brw_blorp_blit_vars_init()
90 v->frag_coord->data.origin_upper_left = true; in brw_blorp_blit_vars_init()
102 nir_ssa_def *coord = nir_f2i32(b, nir_load_var(b, v->frag_coord)); in blorp_blit_get_frag_coords()
/external/mesa3d/src/intel/vulkan/
Danv_nir_lower_input_attachments.c60 nir_ssa_def *frag_coord = nir_f2i32(&b, load_frag_coord(&b)); in try_lower_input_load() local
62 nir_ssa_def *pos = nir_iadd(&b, frag_coord, offset); in try_lower_input_load()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_program.c364 coord_regid = s[FS].v->frag_coord ? regid(0,0) : regid(63,0); in fd5_program_emit()
365 zwcoord_regid = s[FS].v->frag_coord ? regid(0,2) : regid(63,0); in fd5_program_emit()
540 COND(s[FS].v->frag_coord, A5XX_VPC_CNTL_0_VARYING) | in fd5_program_emit()
569 COND(s[FS].v->frag_coord, A5XX_SP_FS_CTRL_REG0_VARYING) | in fd5_program_emit()
588 COND(s[FS].v->frag_coord, A5XX_GRAS_CNTL_XCOORD | in fd5_program_emit()
597 COND(s[FS].v->frag_coord, A5XX_RB_RENDER_CONTROL0_XCOORD | in fd5_program_emit()
Dfd5_emit.c566 COND(fragz && fp->frag_coord, A5XX_RB_DEPTH_PLANE_CNTL_UNK1)); in fd5_emit_state()
570 COND(fragz && fp->frag_coord, A5XX_GRAS_SU_DEPTH_PLANE_CNTL_UNK1)); in fd5_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_program.c258 coord_regid = s[FS].v->frag_coord ? regid(0,0) : regid(63,0); in fd4_program_emit()
259 zwcoord_regid = s[FS].v->frag_coord ? regid(0,2) : regid(63,0); in fd4_program_emit()
412 COND(s[FS].v->frag_coord, A4XX_SP_FS_CTRL_REG1_FRAGCOORD)); in fd4_program_emit()
436 COND(s[FS].v->frag_coord, A4XX_RB_RENDER_CONTROL2_XCOORD | in fd4_program_emit()
Dfd4_emit.c563 COND(fragz && fp->frag_coord, A4XX_RB_DEPTH_CONTROL_FORCE_FRAGZ_TO_FS)); in fd4_emit_state()
571 COND(fragz && fp->frag_coord, A4XX_GRAS_ALPHA_CONTROL_FORCE_FRAGZ_TO_FS)); in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c69 struct ir3_instruction *frag_pos, *frag_face, *frag_coord[4]; member
701 compile_assert(ctx, !ctx->frag_coord[comp]); in create_frag_coord()
703 ctx->frag_coord[comp] = create_input(ctx->block, 0); in create_frag_coord()
717 instr = ir3_SUB_S(block, ctx->frag_coord[comp], 0, in create_frag_coord()
728 return ctx->frag_coord[comp]; in create_frag_coord()
2927 so->frag_coord = true; in setup_input()
3161 n += COND(so->frag_coord, 4); in fixup_frag_inputs()
3185 if (so->frag_coord) { in fixup_frag_inputs()
3186 ctx->frag_coord[0]->regs[0]->num = regid++; in fixup_frag_inputs()
3187 ctx->frag_coord[1]->regs[0]->num = regid++; in fixup_frag_inputs()
[all …]
Dir3_shader.h250 bool frag_coord, frag_face, color0_mrt; member
Dir3_shader.c98 if (v->frag_coord) in fixup_regfootprint()
513 if (so->frag_coord) in ir3_shader_disasm()
Dir3.h1002 bool frag_coord, bool frag_face);
Dir3_ra.c1169 bool frag_coord, bool frag_face) in ir3_ra() argument
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c510 val |= COND(fp->frag_coord, A3XX_RB_RENDER_CONTROL_XCOORD | in fd3_emit_state()
579 val |= COND(fp->frag_coord, A3XX_GRAS_CL_CLIP_CNTL_ZCOORD | in fd3_emit_state()
Dfd3_program.c242 COND(fp->frag_coord, A3XX_HLSQ_CONTROL_1_REG_FRAGCOORDXYREGID(regid(0,0)) | in fd3_program_emit()
/external/mesa3d/src/compiler/nir/
Dnir_intrinsics.h332 SYSTEM_VALUE(frag_coord, 4, 0, xx, xx, xx)