aboutsummaryrefslogtreecommitdiff
path: root/tests/glean-fragProg1.tests
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-30 16:47:28 +1000
committerDave Airlie <airlied@redhat.com>2010-08-30 16:48:44 +1000
commit14a60aad03bf8e7ee9922c81a813ee8d936851eb (patch)
tree1874907c2e13e1be8603c4126bca16d9046872f3 /tests/glean-fragProg1.tests
parentf9c8bc1109e177b187906dc3125ac0e5b3fcf92a (diff)
piglit/glean: split out fragprog1 and vertProg1 tests.
This makes them a lot easier to see what is going wrong on a test by test basic, and follows what Eric did for glsl1. It also generics the genearte-glsl1 script to take a cpp and suffix.
Diffstat (limited to 'tests/glean-fragProg1.tests')
-rw-r--r--tests/glean-fragProg1.tests48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/glean-fragProg1.tests b/tests/glean-fragProg1.tests
new file mode 100644
index 00000000..4ecfaa15
--- /dev/null
+++ b/tests/glean-fragProg1.tests
@@ -0,0 +1,48 @@
+add_fp1('ABS test')
+add_fp1('ADD test')
+add_fp1('ADD with saturation')
+add_fp1('CMP test')
+add_fp1('COS test')
+add_fp1('COS test 2')
+add_fp1('DP3 test')
+add_fp1('DP4 test')
+add_fp1('DPH test')
+add_fp1('DST test')
+add_fp1('EX2 test')
+add_fp1('FLR test')
+add_fp1('FRC test')
+add_fp1('LG2 test')
+add_fp1('LIT test 1')
+add_fp1('LIT test 2 (degenerate case: 0 ^ 0 -> 1)')
+add_fp1('LIT test 3 (case x < 0)')
+add_fp1('MAD test')
+add_fp1('MAX test')
+add_fp1('MIN test')
+add_fp1('MOV test')
+add_fp1('MUL test')
+add_fp1('masked MUL test')
+add_fp1('POW test (exponentiation)')
+add_fp1('RCP test (reciprocal)')
+add_fp1('/* check that RCP result is replicated across XYZW */')
+add_fp1('RSQ test 1 (reciprocal square root)')
+add_fp1('RSQ test 2 (reciprocal square root of negative value)')
+add_fp1('SCS test')
+add_fp1('SGE test')
+add_fp1('SIN test')
+add_fp1('SIN test 2')
+add_fp1('SLT test')
+add_fp1('SUB test (with swizzle)')
+add_fp1('SUB with saturation')
+add_fp1('SWZ test')
+add_fp1('swizzled move test')
+add_fp1('swizzled add test')
+add_fp1('XPD test 1')
+add_fp1('Z-write test')
+add_fp1('Divide by zero test')
+add_fp1('Infinity / nan test')
+add_fp1('ARB_fog_linear test')
+add_fp1('Computed fog linear test')
+add_fp1('ARB_fog_exp test')
+add_fp1('Computed fog exp test')
+add_fp1('ARB_fog_exp2 test')
+add_fp1('Computed fog exp2 test')