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: Piglit: piglit!98 (merged)

CC: Jason Ekstrand Fixes: 0ae9ce0f (i965/clear: Quantize the depth clear value based on the format) Bugzilla: Signed-off-by: Sergii Romantsov Signed-off-by: Danylo Piliaiev

Edited by Sergii Romantsov

Merge request reports