cso: add new cso_set_viewport_dims() helper
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
commitf7af12ae852bdc957fc6f197c722822b82043ead
tree5aaa27ae6988cd5186e12f2b5e0ab88a4a05ee38
parentf88c859cd36f54bd50ca37dbf9806f4f56f70b68
cso: add new cso_set_viewport_dims() helper

To simplify some viewport setting code in the state tracker.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h