freedreno: pass count to query_dmabuf_modifiers
authorFritz Koenig <frkoenig@google.com>
Wed, 27 Feb 2019 04:06:31 +0000 (20:06 -0800)
committerRob Clark <robdclark@gmail.com>
Fri, 1 Mar 2019 15:51:16 +0000 (15:51 +0000)
commit41082446db4bf728e1722e4bf0ccd34876cd0b04
tree215762a32ebe5a8ad9f5d330c682bfe48d0f0d4f
parent2793417ec61ec336b6cb825e06b7eacdd2770204
freedreno: pass count to query_dmabuf_modifiers

query_dmabuf_modifiers needs to know the max number
of modifiers that the list will hold.
src/gallium/drivers/freedreno/freedreno_resource.c