st/va: set default rt formats when calling vaCreateConfig
authorJulien Isorce <j.isorce@samsung.com>
Mon, 17 Oct 2016 16:33:36 +0000 (17:33 +0100)
committerJulien Isorce <j.isorce@samsung.com>
Tue, 18 Oct 2016 07:44:14 +0000 (08:44 +0100)
commitdbc8e181166c96d8344355757e46c4cfc8f634e5
tree8cf0720f40c39a7d00d69af5d58f154867527360
parent9f677d6541741af483c22f29e81f0d883f86028a
st/va: set default rt formats when calling vaCreateConfig

As specified in va.h, default value should be set on attributes
not present in the input list.

Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Reviewed-by: Mark Thompson <sw@jkqxz.net>
src/gallium/state_trackers/va/config.c
src/gallium/state_trackers/va/surface.c