Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_state.c684 struct pipe_viewport_state pvport; in update_viewport() local
690 pvport.scale[0] = (float)vport->Width * 0.5f; in update_viewport()
691 pvport.scale[1] = (float)vport->Height * -0.5f; in update_viewport()
692 pvport.scale[2] = vport->MaxZ - vport->MinZ; in update_viewport()
693 pvport.translate[0] = (float)vport->Width * 0.5f + (float)vport->X; in update_viewport()
694 pvport.translate[1] = (float)vport->Height * 0.5f + (float)vport->Y; in update_viewport()
695 pvport.translate[2] = vport->MinZ; in update_viewport()
717 pvport.translate[0] -= 1.0f / 128.0f; in update_viewport()
718 pvport.translate[1] -= 1.0f / 128.0f; in update_viewport()
721 cso_set_viewport(context->cso, &pvport); in update_viewport()