v3dv: add v3dv_limits file

Graphics / Mesa 3D Graphics Library / Mesa - Alejandro Piñeiro [igalia.com] - 13 October 2020 21:21 UTC

There are several definitions for hw limits on v3dv_image that we want to share, but v3dv_private was already growing bigger and messier.

So let's move them to a specific header. Note that there is already a broadcom/common/v3d_limits.h. We are not putting them there because right now they are only used by the Vulkan driver, but are candidates to be moved.


947fa7033dc v3dv: add v3dv_limits file
src/broadcom/vulkan/meson.build | 1 +
src/broadcom/vulkan/v3dv_image.c | 16 ----------
src/broadcom/vulkan/v3dv_limits.h | 65 ++++++++++++++++++++++++++++++++++++++
src/broadcom/vulkan/v3dv_private.h | 23 ++------------
4 files changed, 68 insertions(+), 37 deletions(-)

Upstream: cgit.freedesktop.org

  • Share