OSDN Git Service

anv/descriptor_set: Add a type field in debug builds
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 6 Jun 2016 16:12:50 +0000 (09:12 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 14 Jun 2016 14:48:40 +0000 (15:48 +0100)
commita0be8d3d0826b8da7d49689eefd9bb8401ac9077
treec3359be23f70392ad247bbbefe5650852729edee
parent901c78786fe389cd2c54b4d4ccb8b7f6e9534093
anv/descriptor_set: Add a type field in debug builds

This allows for some extra validation and makes it easier to see what's
going on when poking around in gdb.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit e2265926f25235f9be833984a5e365889a70ea74)
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_private.h