st/va: Save surface chroma format in config
authorMark Thompson <sw@jkqxz.net>
Wed, 12 Oct 2016 22:52:30 +0000 (23:52 +0100)
committerChristian König <christian.koenig@amd.com>
Fri, 14 Oct 2016 09:57:40 +0000 (11:57 +0200)
commite7c7ef36250d17dfcde3504aeafe7de7088479ba
tree66939ae1b134c8298691673a32c2d042ff18f02c
parent8a931c83bafbf768ffa520af32740df4c5a765e9
st/va: Save surface chroma format in config

Both YUV420 and RGB32 configurations are supported, so we need to be
able to distinguish which is being used.

Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/config.c
src/gallium/state_trackers/va/va_private.h