Lines Matching defs:ndc
1519 struct brw_reg ndc;
1533 /* Build ndc coords */
1534 ndc = get_tmp(c);
1535 /* ndc = 1.0 / pos.w */
1536 emit_math1(c, BRW_MATH_FUNCTION_INV, ndc, brw_swizzle1(pos, 3), BRW_MATH_PRECISION_FULL);
1537 /* ndc.xyz = pos * ndc */
1538 brw_MUL(p, brw_writemask(ndc, WRITEMASK_XYZ), pos, ndc);
1596 * set ndc = (0,0,0,0)
1606 brw_swizzle1(ndc, 3),
1610 brw_MOV(p, ndc, brw_imm_f(0));
1625 * of zeros followed by two sets of NDC coordinates:
1647 * dword 4-7 (m2) is the ndc position (set above)
1653 brw_MOV(p, brw_message_reg(2), ndc);
1660 * dword 4-7 (m2) is ndc position (set above)
1665 brw_MOV(p, brw_message_reg(2), ndc);