diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-12-05 10:07:52 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <[email protected]> | 2019-12-16 09:30:14 +0100 |
commit | 2c1983aefeb6dacfbc61f9edd71975ea359fae40 (patch) | |
tree | b8d60abe4d33644f75bb3533c3755d586a28db2b /src/panfrost/midgard | |
parent | 0e286f6cbf34206e0f243895e9b125ae1d08ca75 (diff) |
gallium: refuse to create buffers larger than UINT32_MAX
pipe_resource.width0 is 32 bits and hardware support for bigger buffer is
limited (eg: AMD hardware doesn't support buffer shader resources bigger
than 4GB).
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2053
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2948>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2948>
Diffstat (limited to 'src/panfrost/midgard')
0 files changed, 0 insertions, 0 deletions