aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@google.com>2016-04-28 14:44:08 +0800
committerTobin Ehlis <tobine@google.com>2016-05-05 06:42:19 -0600
commit99557e9545d918ac7557f4e5f2c613f895044899 (patch)
tree857aa259182f9371e2b9847aaa48857d2f22278c /layers/device_limits.cpp
parentc6d5a62bb9b46ed2f768ba78e51f3b080ed82fc8 (diff)
downloadusermoji-99557e9545d918ac7557f4e5f2c613f895044899.tar.xz
device_limits: intercept CmdSetScissor and CmdSetViepwort
They are defined but unused.
Diffstat (limited to 'layers/device_limits.cpp')
-rw-r--r--layers/device_limits.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp
index 74743e07..d5ad7980 100644
--- a/layers/device_limits.cpp
+++ b/layers/device_limits.cpp
@@ -776,6 +776,8 @@ intercept_core_device_command(const char *name) {
{ "vkCmdUpdateBuffer", reinterpret_cast<PFN_vkVoidFunction>(CmdUpdateBuffer) },
{ "vkUpdateDescriptorSets", reinterpret_cast<PFN_vkVoidFunction>(UpdateDescriptorSets) },
{ "vkCmdFillBuffer", reinterpret_cast<PFN_vkVoidFunction>(CmdFillBuffer) },
+ { "vkCmdSetScissor", reinterpret_cast<PFN_vkVoidFunction>(CmdSetScissor) },
+ { "vkCmdSetViewport", reinterpret_cast<PFN_vkVoidFunction>(CmdSetViewport) },
};
for (size_t i = 0; i < ARRAY_SIZE(core_device_commands); i++) {