Skip to content

i965/clear: clear_value better precision

Sergii Romantsov requested to merge GL/mesa:fix/111113_clearcolor into master

Test-case with depth-clear 0.5 and format MESA_FORMAT_Z24_UNORM_X8_UINT fails due inconsistent clear-value of 0.4999997. Maybe its better to improve?

CI passed: https://mesa-ci.01.org/global_logic/builds/183/group/63a9f0ea7bb98050796b649e85481845 Piglit: piglit!98 (merged)

CC: Jason Ekstrand jason.ekstrand@intel.com Fixes: 0ae9ce0f (i965/clear: Quantize the depth clear value based on the format) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111113 Signed-off-by: Sergii Romantsov sergii.romantsov@globallogic.com Signed-off-by: Danylo Piliaiev danylo.piliaiev@globallogic.com

Edited by Sergii Romantsov

Merge request reports