Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_state.c785 const D3DVIEWPORT9 *vport = &context->viewport; in update_viewport() local
792 pvport.scale[0] = (float)vport->Width * 0.5f; in update_viewport()
793 pvport.scale[1] = (float)vport->Height * -0.5f; in update_viewport()
794 pvport.scale[2] = vport->MaxZ - vport->MinZ; in update_viewport()
795 pvport.translate[0] = (float)vport->Width * 0.5f + (float)vport->X; in update_viewport()
796 pvport.translate[1] = (float)vport->Height * 0.5f + (float)vport->Y; in update_viewport()
797 pvport.translate[2] = vport->MinZ; in update_viewport()
821 ((vport->Width & (vport->Width-1)) == 0) && in update_viewport()
822 ((vport->Height & (vport->Height-1)) == 0)) { in update_viewport()
3251 const D3DVIEWPORT9 *vport = &device->state.viewport; in update_vs_constants_sw() local
[all …]