aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorDustin Graves <dustin@lunarg.com>2016-03-23 19:44:00 -0600
committerDustin Graves <dustin@lunarg.com>2016-04-01 15:34:36 -0600
commit24f5504fa89bbacf282229ef4384a67a05797d4b (patch)
tree206a99618cc19a50cad54d0e03cf62cc4563fa78 /layers/core_validation.cpp
parent4ae8c5186d335d25829048e136ef6e0c56b47db4 (diff)
downloadusermoji-24f5504fa89bbacf282229ef4384a67a05797d4b.tar.xz
layers: Codegen VkBool32/enum parameter validation
Now generating the VkBool32 and enum checks: - Warns if a VkBool32 parameter is neither VK_TRUE nor VK_FALSE - Warns if an enum token value falls outside of the enum's begin/end range and the token was not added by an extension. Only checkes enum's that have a begin/end range. Detection of tokens added by extensions is based on the base_value defined in appendic C.10 of the Vulkan specification. Change-Id: Id49ace52fea8a35972f96d54247b98aba182c09e
Diffstat (limited to 'layers/core_validation.cpp')
0 files changed, 0 insertions, 0 deletions