summaryrefslogtreecommitdiff
path: root/.clang-format-ignore
diff options
context:
space:
mode:
authorEric R. Smith <eric.smith@collabora.com>2024-05-29 10:45:23 -0300
committerMarge Bot <emma+marge@anholt.net>2024-05-30 13:35:26 +0000
commitd91d2c275ef916e79e1e211cb1a86562d0e76f13 (patch)
tree2ece58750e1e27ad9173abf50179ff7fa6e7571c /.clang-format-ignore
parentad033506aa44cabfa67618c9fb48c19a523fe952 (diff)
panfrost: change default rounding mode for samplersHEADmain
The SamplerDescriptor structure has a field which describes how floating point coordinates should be converted to fixed point. Setting this to "true" (which causes round to nearest even) fixes a failing CTS test. The CTS test in question is: dEQP-GLES31.functional.texture.border_clamp.range_clamp.linear_float_color The OpenGL spec is somewhat vague about how rounding is to be performed, so it appears both settings should be legal; this may indicate a problem with the CTS. Nevertheless "round to nearest even" is probably a better default and since it fixes the failing test we may as well use it. Cc: mesa-stable Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29464>
Diffstat (limited to '.clang-format-ignore')
0 files changed, 0 insertions, 0 deletions