summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-04-29 16:08:56 -0700
committer Alec Mouri <alecmouri@google.com> 2021-04-29 16:42:20 -0700
commite8489fdd1d6d981f544ea12135b1b4bec879f91b (patch)
tree5fbc24c312e0a1b6d0938c60086fb93d8f01f7de /vulkan/libvulkan/api.cpp
parentc18151997a6608c538afb063b4e93d32a3a47adc (diff)
Guarantee that blur surface has valid dimensions.
When scaling the blur rectangle, take the ceiling rather than the floor so that integer division does not round down to zero for small dimensions. Bug: 182216890 Test: letterbox test app Test: librenderengine_test Change-Id: I6792331d7282fcbdcf406ae06dc63ac8ba8cf0a2
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions