The precision of atan2 is relaxed to 5 ULPs.
Affects:
dEQP-VK.glsl.builtin.precision.atan2.*
Components: Vulkan
VK_GL_CTS issue: 749
Change-Id: I146226019f77910d1401903f6e89292ff94c089d
if (ctx.floatPrecision == glu::PRECISION_HIGHP)
return ctx.format.ulp(ret, 4096.0);
else
if (ctx.floatPrecision == glu::PRECISION_HIGHP)
return ctx.format.ulp(ret, 4096.0);
else
- return ctx.format.ulp(ret, 2.0);
+ return ctx.format.ulp(ret, 5.0);
}
// Codomain could be [-pi, pi], but that would probably be too strict.
}
// Codomain could be [-pi, pi], but that would probably be too strict.