[Piglit] ext_framebuffer_multisample: Support for GL_RGBA16F/I/UI/32F/I/UI

Topi Pohjolainen topi.pohjolainen at gmail.com
Tue Jul 18 19:16:25 UTC 2017


Currently these are run only against GL_RGBA and GL_RGBA8I. All pass
on IVB and SKL with Mesa upstream.

CC: Jason Ekstrand <jason at jlekstrand.net>
CC: Anuj Phogat <anuj.phogat at gmail.com>
CC: Kenneth Graunke <kenneth at whitecape.org>

Topi Pohjolainen (17):
  util/fbo: Provide color format to config constructor
  ext_framebuffer_multisample: Clamp UNORM only to [0, 1.0]
  ext_framebuffer_multisample: Allow resolve fbos with different formats
  ext_framebuffer_multisample: accuracy also against RGBA16F/32F
  ext_framebuffer_multisample: more tests against GL_RGBA16F/32F
  ext_framebuffer_multisample: blit-flipped also against RGBA16F/32F
  ext_framebuffer_multisample: blit-mismatched also against RGBA16F/32F
  ext_framebuffer_multisample: blit-multiple-rt also against RGBA16F/32F
  ext_framebuffer_multisample: color clear also against RGBA16F/32F
  ext_framebuffer_multisample: multiple-blit also against RGBA16F/32F
  ext_framebuffer_multisample: sample-alpha- also against RGBA16F/32F
  ext_framebuffer_multisample: unaligned-blit also against RGBA16F/32F
  ext_framebuffer_multisample: upsample also against RGBA16F/32F
  ext_framebuffer_multisample: clip-and-scissor also against RGBA16F/32F
  ext_framebuffer_multisample: sample-coverage also against RGBA16F/32F
  ext_framebuffer_multisample: int-draw-buffers also against 8/16/32/UI
  ext_framebuffer_multisample: Use full value range for integer formats

 tests/all.py                                       | 67 ++++++++-------
 .../attachments-blit-scaled-linear.cpp             |  2 +-
 .../arb_framebuffer_object/blit-scaled-linear.cpp  |  2 +-
 .../execution/builtin-gl-num-samples.cpp           |  5 +-
 .../execution/builtin-gl-sample-id.cpp             |  2 +-
 .../execution/builtin-gl-sample-mask-mrt-alpha.cpp |  2 +-
 .../execution/builtin-gl-sample-mask-simple.cpp    |  2 +-
 .../execution/builtin-gl-sample-mask.cpp           |  2 +-
 .../execution/builtin-gl-sample-position.cpp       |  2 +-
 .../execution/ignore-centroid-qualifier.cpp        |  2 +-
 .../execution/interpolate-at-sample-position.cpp   |  2 +-
 .../spec/ext_framebuffer_multisample/accuracy.cpp  | 29 +++++--
 .../alpha-to-coverage-dual-src-blend.cpp           |  9 +-
 ...alpha-to-coverage-no-draw-buffer-zero-write.cpp |  9 +-
 .../alpha-to-one-dual-src-blend.cpp                |  9 +-
 .../alpha-to-one-msaa-disabled.cpp                 |  9 +-
 tests/spec/ext_framebuffer_multisample/bitmap.cpp  | 11 ++-
 .../ext_framebuffer_multisample/blit-flipped.cpp   | 16 ++--
 .../blit-mismatched-formats.cpp                    | 27 ++++--
 .../blit-mismatched-samples.cpp                    | 17 +++-
 .../blit-mismatched-sizes.cpp                      | 17 +++-
 .../blit-multiple-render-targets.cpp               | 10 ++-
 tests/spec/ext_framebuffer_multisample/clear.cpp   | 31 +++++--
 .../clip-and-scissor-blit.cpp                      | 19 +++--
 tests/spec/ext_framebuffer_multisample/common.cpp  | 12 ++-
 tests/spec/ext_framebuffer_multisample/common.h    |  6 +-
 .../draw-buffers-alpha-to-coverage.cpp             |  9 +-
 .../draw-buffers-alpha-to-one.cpp                  |  9 +-
 .../draw-buffers-common.cpp                        | 97 ++++++++++++++++------
 .../ext_framebuffer_multisample/enable-flag.cpp    |  4 +-
 tests/spec/ext_framebuffer_multisample/formats.cpp |  7 +-
 .../int-draw-buffers-alpha-to-coverage.cpp         | 10 ++-
 .../int-draw-buffers-alpha-to-one.cpp              | 10 ++-
 .../ext_framebuffer_multisample/interpolation.cpp  |  4 +-
 .../ext_framebuffer_multisample/line-smooth.cpp    | 10 ++-
 .../multisample-blit.cpp                           | 30 +++++--
 .../spec/ext_framebuffer_multisample/no-color.cpp  |  5 +-
 .../ext_framebuffer_multisample/point-smooth.cpp   | 10 ++-
 .../ext_framebuffer_multisample/polygon-smooth.cpp | 10 ++-
 .../polygon-stipple.cpp                            | 13 ++-
 .../sample-alpha-to-coverage.cpp                   | 41 ++++++---
 .../sample-alpha-to-one.cpp                        |  9 +-
 .../sample-coverage.cpp                            | 15 ++--
 .../ext_framebuffer_multisample/turn-on-off.cpp    |  2 +-
 .../ext_framebuffer_multisample/unaligned-blit.cpp | 36 +++++---
 .../spec/ext_framebuffer_multisample/upsample.cpp  | 35 +++++---
 .../blit-scaled.cpp                                |  4 +-
 .../negative-blit-scaled.cpp                       |  2 +-
 tests/util/piglit-fbo.cpp                          |  7 +-
 tests/util/piglit-fbo.h                            |  3 +-
 tests/util/sized-internalformats.h                 |  8 ++
 51 files changed, 483 insertions(+), 228 deletions(-)

-- 
2.11.0



More information about the Piglit mailing list