Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_state.c786 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()
[all …]