diff options
author | Jason Ekstrand <[email protected]> | 2017-07-27 15:04:25 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-08-31 14:31:42 -0700 |
commit | 242211933a06826961709c2689a1d30f735ab7b9 (patch) | |
tree | dea5c33c3434245dfdd2ad1b27551addd04d9dbc /src/glx/xf86dri.h | |
parent | 2d93b462b4d978b0da417b35a7470e336bc4e783 (diff) |
anv/formats: Nicely handle unknown VkFormat enums
This fixes some crashes in the dEQP-VK.memory.requirements.core.* tests.
I'm not sure whether or not passing out-of-bound formats into the query
is supposed to be allowed but there's no harm in protecting ourselves
from it.
Reviewed-by: Lionel Landwerlin <[email protected]>
Bugzilla: https://bugs.freedesktop.org/101956
Cc: [email protected]
Diffstat (limited to 'src/glx/xf86dri.h')
0 files changed, 0 insertions, 0 deletions