Searched refs:ndc (Results 1 - 4 of 4) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | rastpos.c | 400 GLfloat eye[4], clip[4], ndc[3], d; local in function:_mesa_RasterPos 436 /* ndc = clip / W */ 438 ndc[0] = clip[0] * d; 439 ndc[1] = clip[1] * d; 440 ndc[2] = clip[2] * d; 441 /* wincoord = viewport_mapping(ndc) */ 443 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; 444 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; 445 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2];
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/main/ |
| H A D | rastpos.c | 406 GLfloat eye[4], clip[4], ndc[3], d; local in function:_mesa_RasterPos 442 /* ndc = clip / W */ 444 ndc[0] = clip[0] * d; 445 ndc[1] = clip[1] * d; 446 ndc[2] = clip[2] * d; 447 /* wincoord = viewport_mapping(ndc) */ 449 ctx->Current.RasterPos[0] = ndc[0] * scale[0] + translate[0]; 450 ctx->Current.RasterPos[1] = ndc[1] * scale[1] + translate[1]; 451 ctx->Current.RasterPos[2] = ndc[2] * scale[2] + translate[2];
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_vec4_visitor.cpp | 1164 /* Build ndc coords, which are (x/w, y/w, z/w, 1/w) */ 1165 dst_reg ndc = dst_reg(this, glsl_type::vec4_type); local in function:brw::vec4_visitor::emit_ndc_computation 1166 output_reg[BRW_VARYING_SLOT_NDC][0] = ndc; 1170 dst_reg ndc_w = ndc; 1176 dst_reg ndc_xyz = ndc; 1223 * set ndc = (0,0,0,0)
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_vec4_visitor.cpp | 1069 /* Build ndc coords, which are (x/w, y/w, z/w, 1/w) */ 1070 dst_reg ndc = dst_reg(this, glsl_type::vec4_type); local in function:brw::vec4_visitor::emit_ndc_computation 1071 output_reg[BRW_VARYING_SLOT_NDC][0] = ndc; 1075 dst_reg ndc_w = ndc; 1081 dst_reg ndc_xyz = ndc; 1128 * set ndc = (0,0,0,0)
|
Completed in 10 milliseconds