Mesa (master): fp: dont reference fragment.position.zw
Keith Whitwell
keithw at kemper.freedesktop.org
Fri Mar 6 21:00:50 UTC 2009
Module: Mesa
Branch: master
Commit: 52a68b9078bdcf817363c4542252f284292d19f8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=52a68b9078bdcf817363c4542252f284292d19f8
Author: Keith Whitwell <keithw at vmware.com>
Date: Fri Mar 6 18:53:56 2009 +0000
fp: dont reference fragment.position.zw
---
progs/fp/position.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/progs/fp/position.txt b/progs/fp/position.txt
index 27fac12..1875897 100644
--- a/progs/fp/position.txt
+++ b/progs/fp/position.txt
@@ -1,3 +1,4 @@
!!ARBfp1.0
-MUL result.color, fragment.position, {.005}.x;
+MOV result.color, {0}.x;
+MUL result.color.xy, fragment.position, {.005}.x;
END
More information about the mesa-commit
mailing list