panfrost: Use u_pipe_screen_get_param_defaults
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 5 Feb 2019 02:19:38 +0000 (02:19 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 7 Feb 2019 01:57:19 +0000 (01:57 +0000)
commit8f4485ef1a8bb0aeda996097f84869fb86bd51d2
tree6b49aa1f41d6a589e0acc5c8687016c5b2f454bb
parent8f9f99d84d88b5ed7ee93d3e80fc00c281149201
panfrost: Use u_pipe_screen_get_param_defaults

Switching to the defaults function cleans up pan_screen.h markedly and
futureproofs for when new PIPE_CAPs are added.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Suggested-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/panfrost/pan_screen.c