From 4661817dacec5ef77d013828423c7ebeacf807c5 Mon Sep 17 00:00:00 2001 From: Michal Krol Date: Sat, 4 Apr 2009 13:34:27 +0200 Subject: python/regress: Initial fragment shader test suite. --- .../tests/regress/fragment-shader/frag-srcmod-absneg.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-srcmod-absneg.sh (limited to 'src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-srcmod-absneg.sh') diff --git a/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-srcmod-absneg.sh b/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-srcmod-absneg.sh new file mode 100644 index 0000000000..acd6aa750d --- /dev/null +++ b/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-srcmod-absneg.sh @@ -0,0 +1,15 @@ +FRAG1.1 + +DCL IN[0], COLOR, LINEAR +DCL OUT[0], COLOR + +DCL TEMP[0] + +IMM FLT32 { -0.2, -0.3, -0.4, 0.0 } +IMM FLT32 { -1.0, -1.0, -1.0, -1.0 } + +ADD TEMP[0], IN[0], IMM[0] +MOV TEMP[0], -|TEMP[0]| +MUL OUT[0], TEMP[0], IMM[1] + +END -- cgit v1.2.3