d3d12: Don't use VLAs
authorJesse Natalie <jenatali@microsoft.com>
Wed, 18 May 2022 16:13:14 +0000 (09:13 -0700)
committerJesse Natalie <jenatali@microsoft.com>
Wed, 18 May 2022 16:28:47 +0000 (09:28 -0700)
commit4b34869d9d26514a3305394e598dafaf12a42cfb
tree7ab7882c74ac331c542653aeb7d2ca42d8091320
parent9e9c8df3f0e0473c6be9ae1a01a8d844e96ba235
d3d12: Don't use VLAs

Fixes: 739283da ("d3d12: Improve planar resource support to handle video requirements")
Reviewed-by: Sil Vilerino <sivileri@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16588>
src/gallium/drivers/d3d12/d3d12_resource.cpp