bsign variable in function calcFloatDiff is wrongly declared. Fixing.
VK-GL-CTS issue: 3472
Affects:
dEQP-VK.api.image_clearing.core.clear_depth_stencil_image*
and all the tests from the vktApiImageClearingTests.cpp file.
Components: Vulkan
Signed-off-by: Nishit Shah <nishit.shah@samsung.com>
Change-Id: I654920c9de460eb04caaca988552f65da3aa2687
int calcFloatDiff (float a, float b)
{
const int asign = Float32(a).sign();
- const int bsign = Float32(a).sign();
+ const int bsign = Float32(b).sign();
const deUint32 avalue = (Float32(a).bits() & ((0x1u << 31u) - 1u));
const deUint32 bvalue = (Float32(b).bits() & ((0x1u << 31u) - 1u));