Relax fma() verification in builtin_functions.common.fma
authorPyry Haulos <phaulos@google.com>
Thu, 19 Feb 2015 22:15:03 +0000 (14:15 -0800)
committerPyry Haulos <phaulos@google.com>
Fri, 20 Feb 2015 16:41:20 +0000 (08:41 -0800)
commite5fc2a804322422a6d50270e9e00fb1c193b6f90
tree9f44499944615529aebdcead21c72d1e2abc4a11
parent563de115e69e1a98524be95b0f2c26af0bbe621f
Relax fma() verification in builtin_functions.common.fma

GL_EXT_gpu_shader5 allows fma() to be implemented either as a single, or
two correctly-rounded operations. Current tests assumed fma() for lowp
and mediump to be implemented as a single operation as no rounding was
allowed mid-operation.

This change relaxes fma() tests to allow for a*b+c expansion.

Bug: 19431850
Change-Id: I46eea74bf3b95bfdbc510e13ef7315854be623ee
modules/gles31/functional/es31fShaderCommonFunctionTests.cpp