aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler/tests/omod_two_writers.test
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-03-10 20:55:26 -0400
committerTom Stellard <[email protected]>2013-06-30 21:38:57 -0700
commite2c3640540dbe423d2c75d89615854aeb9f560f3 (patch)
treea2866c2cf8be3363db308171d3f5abd492433064 /src/gallium/drivers/r300/compiler/tests/omod_two_writers.test
parentab40d8d56f1cd6868a90fedd1dfaa87a3087bfa3 (diff)
r300g/compiler/tests: Add an assembly parser
The assembly parser can be used to load r300 assembly dumps and run them through any of the r300 compiler passes. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/compiler/tests/omod_two_writers.test')
-rw-r--r--src/gallium/drivers/r300/compiler/tests/omod_two_writers.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/compiler/tests/omod_two_writers.test b/src/gallium/drivers/r300/compiler/tests/omod_two_writers.test
new file mode 100644
index 00000000000..fb16bb08f92
--- /dev/null
+++ b/src/gallium/drivers/r300/compiler/tests/omod_two_writers.test
@@ -0,0 +1,5 @@
+RCP temp[0].x, const[1].x___;
+RCP temp[0].y, const[1]._y__;
+MUL temp[1].xy, const[0].xx__, temp[0].xy__;
+MOV output[0].xy, temp[1].xy;
+=