radv: create pipeline layout objects for all meta operations

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 19 December 2017 20:22 EST

They are dummy objects but the spec requires layout to not be NULL, this just makes sure we are creating valid pipeline layout objects. This will allow us to remove some useless checks.

3595a11648 radv: create pipeline layout objects for all meta operations
src/amd/vulkan/radv_meta_decompress.c | 28 ++++++++++++++++++++++++++++
src/amd/vulkan/radv_meta_fast_clear.c | 33 +++++++++++++++++++++++++++++++--
src/amd/vulkan/radv_meta_resolve.c | 18 ++++++++++++++++++
src/amd/vulkan/radv_private.h | 3 +++
4 files changed, 80 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share