New formats added to Draw Buffers Indexed Tests
authorDaniel Perez Otero <daniel.perez.otero@mobica.com>
Thu, 14 Jan 2016 21:40:24 +0000 (15:40 -0600)
committerDaniel Andrade Groppe <daniel.andrade@mobica.com>
Wed, 24 Feb 2016 19:07:09 +0000 (13:07 -0600)
commitf070d4fa17fe0e0b2832df97fdcb252e3deed97a
treeff8ae17b4fda8f12f811368a2315d45f2acfeed4
parentc29c0fa1215dad96a1fe96c2c9dc01f80fb0784a
New formats added to Draw Buffers Indexed Tests

- Add function getFloatULPThreshold to compute the threshold
  for float formats.
- Context argument added in the function getRandomFormat
  to pick a format acording to the context version.
- The formats GL_RGB16F, GL_RGBA16F, GL_R32F, GL_RG32F,
  GL_RGBA32F, and GL_R11F_G11F_B10F have been added to
  the array glFormat wich will be chosen randomly.
- The suffix "_KHR" was removed from the name of the
  advanced blend equations.
- Validate to exclude and throw a NotSupportedError if
  the contex isn't version 3.2 or the extensions
  GL_EXT_draw_buffers_indexed and GL_KHR_blend_equation_advanced
  are not supported.

Change-Id: I0d7f0a295049e5e715b3854a9df15662a6005861
modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp