diff options
author | Chris Forbes <chrisf@ijw.co.nz> | 2013-01-05 19:28:27 +1300 |
---|---|---|
committer | Chris Forbes <chrisf@ijw.co.nz> | 2013-03-03 21:01:58 +1300 |
commit | 52a3548b235ef58b4720923489d74b6783478107 (patch) | |
tree | ba6bc9ce7e1f576fef0702caf4e3282f4b0d060d /tests/all.tests | |
parent | 5cc4346abc7bad1d88d4fbec3ba790f6071cf63e (diff) |
arb_texture_multisample: new test for fb configs
This tests FBO setup with various combinations of multisample textures
and `classic` multisample renderbuffers, and for each, checks:
- That the renderbuffers or textures can be created
- Completeness status
If the configuration is expected to work, additionally:
- Actual sample count >= requested sample count
- Sample positions meet spec requirements (all obtainable, and in [0,1]
Covers the fixedsamplelocations and sample count consistency
requirements in the spec.
V2: - Don't specify window size, we don't care.
- Add comment about internalformat defaulting.
- Don't specify dims, sample count per attachment; attachment
is either multisampled or not, dims are always the same.
- Report each config result using subtests
- Support testing different sample counts, and test 2/4/6/8/16
samples in all.tests. Unsupported sample counts are skipped.
- Fixup for signature change of piglit_report_subtest_result.
- Test some multisample array scenarios too.
- Lookup enum names for some of the output, to make it easier to
read.
- Remove the bogus stencil texture case, it's not valid.
- Skip subtests which can't work with the sample limits exposed
by the driver, rather than just failing.
V2: - Add missing copyright notice.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Diffstat (limited to 'tests/all.tests')
-rw-r--r-- | tests/all.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/all.tests b/tests/all.tests index aeba8215..2af50cee 100644 --- a/tests/all.tests +++ b/tests/all.tests @@ -867,6 +867,10 @@ add_plain_test(arb_point_sprite, 'point-sprite') arb_texture_multisample = Group() spec['ARB_texture_multisample'] = arb_texture_multisample add_concurrent_test(arb_texture_multisample, 'arb_texture_multisample-minmax') +for sample_count in MSAA_SAMPLE_COUNTS: + # fb-completeness + spec['ARB_texture_multisample/fb-completeness/%d' % (sample_count,)] = \ + concurrent_test('arb_texture_multisample-fb-completeness %d' % (sample_count,)) # Group AMD_shader_stencil_export spec['AMD_shader_stencil_export'] = Group() |