Commit 3f3c489e authored by Emma Anholt's avatar Emma Anholt
Browse files

test: Trim the Render ops that we test the composite paths on.



We cover all Render ops under the "blend" group, so when we're doing
the cross products of some formats for the masking operation, skip
most of the ops (covering just zero, one, and src/dst alpha blend
factors along with a definitely non-glamor-accelerated one) .

All the tests now complete in <20s of runtime on my skylake.
Signed-off-by: Emma Anholt's avatarEric Anholt <eric@anholt.net>
parent 58c168ad
......@@ -8,6 +8,7 @@ piglit_env = environment()
piglit_env.set('XSERVER_DIR', meson.source_root())
piglit_env.set('XSERVER_BUILDDIR', meson.build_root())
some_ops = '-o clear,src,dst,over,xor,disjointover'
rendercheck_tests = [
['blend/All/a8r8g8b8', '-t blend -f a8r8g8b8'],
['blend/All/x8r8g8b8', '-t blend -f a8r8g8b8,x8r8g8b8'],
......@@ -15,13 +16,13 @@ rendercheck_tests = [
['blend/Clear', '-t blend -o clear'],
['blend/Src', '-t blend -o src'],
['blend/Over', '-t blend -o over'],
['composite/All/a8r8g8b8', '-t composite -f a8r8g8b8'],
['composite/All/x8r8g8b8', '-t composite -f a8r8g8b8,x8r8g8b8'],
['composite/All/a2r10g10b10', '-t composite -f a8r8g8b8,a2r10g10b10'],
['ca composite/All/a8r8g8b8', '-t cacomposite -f a8r8g8b8'],
['ca composite/All/a8', '-t cacomposite -f a8r8g8b8,a8'],
['ca composite/All/x8r8g8b8', '-t cacomposite -f a8r8g8b8,x8r8g8b8'],
['ca composite/All/a2r10g10b10', '-t cacomposite -f a8r8g8b8,a2r10g10b10'],
['composite/Some/a8r8g8b8', '-t composite -f a8r8g8b8 ' + some_ops],
['composite/Some/x8r8g8b8', '-t composite -f a8r8g8b8,x8r8g8b8' + some_ops],
['composite/Some/a2r10g10b10', '-t composite -f a8r8g8b8,a2r10g10b10' + some_ops],
['ca composite/Some/a8r8g8b8', '-t cacomposite -f a8r8g8b8' + some_ops],
['ca composite/Some/a8', '-t cacomposite -f a8r8g8b8,a8' + some_ops],
['ca composite/Some/x8r8g8b8', '-t cacomposite -f a8r8g8b8,x8r8g8b8' + some_ops],
['ca composite/Some/a2r10g10b10', '-t cacomposite -f a8r8g8b8,a2r10g10b10' + some_ops],
['fill', '-t fill'],
['bug7366', '-t bug7366'],
['destination coordinates', '-t dcoords'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment