diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2016-04-14 11:30:32 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-04-14 11:30:32 -0600 |
| commit | 077d897cf0172744e4b90f25a85ac246007b3933 (patch) | |
| tree | 631e7f836cfd15100f570b9064654818db44162e /layers/core_validation.cpp | |
| parent | 98fa64436e9553f92010d236c1858dbd242aa32a (diff) | |
| download | usermoji-077d897cf0172744e4b90f25a85ac246007b3933.tar.xz | |
layers: Fix windows build
VkObjects should be cast to uint64_t by using 'reinterpret_cast<uint64_t &>'
Change-Id: I403efdf389dad61c373df40c5fa1fbed7cf96abd
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index e0b1529b..24efa02f 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -10113,8 +10113,8 @@ vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo // First verify that fence is not in use if ((fence != VK_NULL_HANDLE) && (bindInfoCount != 0) && dev_data->fenceMap[fence].in_use.load()) { skip_call |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT, - reinterpret_cast<uint64_t>(fence), __LINE__, DRAWSTATE_INVALID_FENCE, "DS", - "Fence %#" PRIx64 " is already in use by another submission.", reinterpret_cast<uint64_t>(fence)); + reinterpret_cast<uint64_t &>(fence), __LINE__, DRAWSTATE_INVALID_FENCE, "DS", + "Fence %#" PRIx64 " is already in use by another submission.", reinterpret_cast<uint64_t &>(fence)); } uint64_t fenceId = 0; skip_call = add_fence_info(dev_data, fence, queue, &fenceId); |
