summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2019-08-06 19:47:48 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-08-06 19:47:48 -0700
commit5ce968653f13d817eeaf485ddfe17f4b3d527822 (patch)
treeb0500d7f9d6ea7b736c45954fa10acac1bee6a75 /vulkan/libvulkan/api.cpp
parentdcaba1b880199996f14e211877f78ff7d7964a42 (diff)
vkjson: fix the down clamp of report values
std::numeric_limits<double>::min() is the minimum positive value of double, but we need to clamp to the safe minimum negative double value here. Bug: 134453786 Test: adb shell cmd gpu vkjson Change-Id: I7a74f5fd2f48c61c614f70d14ab94a50ecaaad73
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions