Re: [Mesa-dev] [PATCH] anv/formats: Nicely handle unknown VkFormat enums

2017-08-31 Thread Lionel Landwerlin
Reviewed-by: Lionel Landwerlin On 31/08/17 22:10, Jason Ekstrand wrote: 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.

[Mesa-dev] [PATCH] anv/formats: Nicely handle unknown VkFormat enums

2017-08-31 Thread Jason Ekstrand
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. Bugzilla: https://bugs.freedesktop.org/101956 Cc: mesa-sta...@lists.freede