aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-05-05 18:24:45 -0500
committerMark Lobodzinski <mark@lunarg.com>2015-05-05 18:24:45 -0500
commit358a2b56554af7d24eb1356db019f7c29de20309 (patch)
treec1f5b78817faea3eb98b9f9a2e35b7d1b1b2279e /layers
parentca4025114f64009c9acef75403c473f85582a3ee (diff)
downloadusermoji-358a2b56554af7d24eb1356db019f7c29de20309.tar.xz
layers: Add object type validation to object tracker
Validate that objects match the objectType any time both are specified.
Diffstat (limited to 'layers')
-rw-r--r--layers/object_track.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/object_track.h b/layers/object_track.h
index 7697d60a..9c45e2a7 100644
--- a/layers/object_track.h
+++ b/layers/object_track.h
@@ -31,6 +31,7 @@ typedef enum _OBJECT_TRACK_ERROR
OBJTRACK_INTERNAL_ERROR, // Bug with data tracking within the layer
OBJTRACK_DESTROY_OBJECT_FAILED, // Couldn't find object to be destroyed
OBJTRACK_MISSING_OBJECT, // Attempted look-up on object that isn't in global object list
+ OBJTRACK_OBJECT_TYPE_MISMATCH, // Object did not match corresponding Object Type
OBJTRACK_OBJECT_LEAK, // OBJECT was not correctly freed/destroyed
OBJTRACK_OBJCOUNT_MAX_EXCEEDED, // Request for Object data in excess of max obj count
OBJTRACK_INVALID_FENCE, // Requested status of unsubmitted fence object