Lines Matching refs:pvport
786 struct pipe_viewport_state pvport; 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()
798 pvport.swizzle_x = PIPE_VIEWPORT_SWIZZLE_POSITIVE_X; in update_viewport()
799 pvport.swizzle_y = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Y; in update_viewport()
800 pvport.swizzle_z = PIPE_VIEWPORT_SWIZZLE_POSITIVE_Z; in update_viewport()
801 pvport.swizzle_w = PIPE_VIEWPORT_SWIZZLE_POSITIVE_W; in update_viewport()
823 pvport.translate[0] -= 1.0f / 128.0f; in update_viewport()
824 pvport.translate[1] -= 1.0f / 128.0f; in update_viewport()
827 cso_set_viewport(context->cso, &pvport); in update_viewport()