[Bug 10024] R300 fragment.position viewport transformation is incorrect

2009-08-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024


ajax at nwnk dot net a...@nwnk.net changed:

   What|Removed |Added

Version|CVS |git




--- Comment #98 from ajax at nwnk dot net a...@nwnk.net  2009-08-24 12:25:58 
PST ---
Mass version move, cvs - git


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2008-06-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024


Nicolai Hähnle [EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #97 from Nicolai Hähnle [EMAIL PROTECTED]  2008-06-15 01:42:19 
PST ---
It appears to me that this bug has been fixed for over a year, so I'm closing
it. If there are still problems with fragment.position interaction with other
stuff, it's most likely a separate bug in fragment program compilation and
merits a new bug report.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-04-04 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #96 from [EMAIL PROTECTED]  2007-04-04 12:28 PST ---
the r300 now passes the fp-fragment-position test from Piglit
Nicolai fixed it the easy way and I didn't even see it.

Anyway we can always work on optimizations later.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #90 from [EMAIL PROTECTED]  2007-03-24 09:33 PST ---
The test appear to show 2 different issues:

In basic  tex2d unscaled: 
 all deltas with the exception of 0.001471 can be constructed as n *
0.000980??
 E.g. 0.003922 = 4 * 0.000980?? and 0.007843 = 8 * 0.000980??
 We need to track down where this deviation comes from.

In tex2d scaled  texrect:
 (will most likely also suffer from the )
 the fragment shader is broken when it comes to using TEX instructions
(Oliver you just work around the problem the tests most likely doesn't)
 When I feel better I see about fixing it.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #91 from [EMAIL PROTECTED]  2007-03-24 10:31 PST ---
I'll grab the values from running fp-fragment-position from Piglit so we can
compare them between R300 and the blob.  Thanks for looking into this, and I do
hope you feel better soon; not just so you can fix this. ;) 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #92 from [EMAIL PROTECTED]  2007-03-24 10:49 PST ---
Created an attachment (id=9274)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9274action=view)
Blob results for Piglit test


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #93 from [EMAIL PROTECTED]  2007-03-24 10:49 PST ---
Created an attachment (id=9275)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9275action=view)
R300 results for Piglit test


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #94 from [EMAIL PROTECTED]  2007-03-24 10:50 PST ---
Created an attachment (id=9276)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9276action=view)
Diff of the previous two attachments


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #95 from [EMAIL PROTECTED]  2007-03-24 10:56 PST ---
The diff of the blob vs R300 has me a little concerned. I would have expected
the delta to be exactly the same on both of them. Perhaps a little
difference...

tex2d scaled #1 (0.2,1.2): 0.976471,0.607843,0.027451,0.313726 (blob)
tex2d scaled #1 (0.2,1.2): 0.60,0.309804,0.403922,0.352941 (r300)

But not that much...


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #89 from [EMAIL PROTECTED]  2007-03-23 09:28 PST ---
I've been taking to Nicolai Haehnle (nh) about this and he has made an OpenGL
test suite for verifying the DRI drivers. The example page is the results of it
running on R300.

http://people.freedesktop.org/~nh/piglit/

http://people.freedesktop.org/~nh/piglit/sample/index.html

There is a test on that page for fragment.position there. You can see it fails.
I think this might be the reason I still have some problems with
fragment.position.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #64 from [EMAIL PROTECTED]  2007-03-15 06:38 PST ---
I just made some more screenshots with R300, and it seems there are some cases
where something goes wrong depending on the view angle. I made 6 screenshots
that I'll attach they are at various different angles showing errors in the
fragment.position calculation.  Note that I am doing a MUL for scale/npot
adjust, but I'm doing the same thing with the blob too, and it works there, so
it is a bug with the fragment.position calculation. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #65 from [EMAIL PROTECTED]  2007-03-15 06:38 PST ---
Created an attachment (id=9157)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9157action=view)
Screenshot 1


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #66 from [EMAIL PROTECTED]  2007-03-15 06:39 PST ---
Created an attachment (id=9158)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9158action=view)
Screenshot 2


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #67 from [EMAIL PROTECTED]  2007-03-15 06:39 PST ---
Created an attachment (id=9159)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9159action=view)
Screenshot 3


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #68 from [EMAIL PROTECTED]  2007-03-15 06:39 PST ---
Created an attachment (id=9160)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9160action=view)
Screenshot 4


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #69 from [EMAIL PROTECTED]  2007-03-15 06:39 PST ---
Created an attachment (id=9161)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9161action=view)
Screenshot 5


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #70 from [EMAIL PROTECTED]  2007-03-15 06:40 PST ---
Created an attachment (id=9162)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9162action=view)
Screenshot 6


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #71 from [EMAIL PROTECTED]  2007-03-15 06:44 PST ---
Rune, if you're around and need any more information or dumps etc please let me
know. :)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #72 from [EMAIL PROTECTED]  2007-03-15 06:59 PST ---
Oops, I might have made a mistake with which patches I had applied to that Mesa
tree. I think that the fragment.position patch wasn't applied. I'm going to go
confirm that now, so possibly disregard the last 6 screenshots.

Sorry about that...


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #73 from [EMAIL PROTECTED]  2007-03-15 07:07 PST ---
The last 6 screenshots were incorrect, sorry about that. I just made two new
screenshots on R300 (checked the fragment.position patch was applied this time)
and the blob.

The blob screenshot is mostly blue while the R300 screenshot is mostly green;
this is probably the source of my problem. It is still probably something wrong
in the fragment.position calculation.

I'll attach the two screenshots and the fragment program.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #74 from [EMAIL PROTECTED]  2007-03-15 07:08 PST ---
Created an attachment (id=9163)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9163action=view)
Blob rendering parallel to the mirror (good)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #75 from [EMAIL PROTECTED]  2007-03-15 07:08 PST ---
Created an attachment (id=9164)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9164action=view)
R300 rendering parallel to the mirror


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #76 from [EMAIL PROTECTED]  2007-03-15 07:10 PST ---
Created an attachment (id=9165)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=9165action=view)
The fragment program used with the last two screenshots


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #77 from [EMAIL PROTECTED]  2007-03-15 09:38 PST ---
I just committed the fragment.position patch and a few minor corrections. There
is still a bug with the swizzle, though... But it is a significant improvement. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #78 from [EMAIL PROTECTED]  2007-03-15 11:50 PST ---
Do you get the same result if you do:
!!ARBfp1.0

TEMP tmp;

MOV tmp.xy, fragment.position;
MUL tmp.xy, tmp, program.local[0];
MUL tmp.xy, tmp, program.local[1];
MOV result.color.z, {0.0}.x
#TEX result.color, tmp, texture[0], 2D;
MOV result.color.xy, tmp;

END

z = blue, and result.color.z is not written to. to me is makes sense that
components not written to are: x=0, y=0, z=0, w=1

(i'll be participating casually for the time beeing)


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #79 from [EMAIL PROTECTED]  2007-03-15 12:02 PST ---
Doing MOV result.color.z, {0}.x; doesn't change anything; still the same
incorrect mostly green color.  However, doing MOV result.color.z, {1}.x; does
seem to produce the correct mostly blue color, at least from a visual
inspection. I didn't mathematically compare the RGB values or anything like
that.  So maybe the final swizzle is wrong? Maybe the blob fills this in as 1? 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #80 from [EMAIL PROTECTED]  2007-03-15 12:38 PST ---
In other words I was right =)

The question is how what value should result.color.z have if not written to.
I know the blob does a MOV to result.color but it is my belief that z should be
0 if not writen to, making the blob wrong. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #81 from [EMAIL PROTECTED]  2007-03-15 12:44 PST ---
looks like neither case is wrong.

From the spec:
  (7) If a fragment program does not write a color value, what should
be the final color of the fragment?

  RESOLVED: The final fragment color is undefined.  Note that it may
  be perfectly reasonable to have a program that computes depth 
  values but not colors.  Fragment colors are often irrelevant if
  color writes are disabled (via ColorMask).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #82 from [EMAIL PROTECTED]  2007-03-15 13:22 PST ---
So with the blob, when I say MOV result.color.xy, fragment.position; it
really translates that into MOV result.color.xyz, fragment.position;; because
R300 doesn't do this I get get the mostly green color instead of mostly blue? 
It's odd then that doing a TEX with result.position doesn't work on R300, but
works on the blob. Since TEX only uses .xy I would expect it to work on R300;
it doesn't even look at .z. =/ 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #83 from [EMAIL PROTECTED]  2007-03-15 13:37 PST ---
no the blob does something like this:
MOV result.color, fragment.color;
MOV result.color.xy, fragment.position;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #84 from [EMAIL PROTECTED]  2007-03-15 13:42 PST ---
Hmm... Well I'm not sure why my TEX instruction isn't working then, all
indications are that it should work. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #85 from [EMAIL PROTECTED]  2007-03-15 14:29 PST ---
just to be clear it is only curtain that is messed up right?

The colortest: If you set result.color.z to 1.0, are colors the same/similar
for both blob  R300?

If yes, could you experiment setting tmp.z  tmp.w to different values and see
if the result of TEX changes.

or maybe try writing to result.color before calling TEX:
  MOV result.color, {1.0}.x; 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #86 from [EMAIL PROTECTED]  2007-03-15 15:08 PST ---
Yes, that's right. Setting result.color.z to 1 makes our driver output the same
blue color (at least from visual comparison) as the blob.  I'll try some of the
things you mentioned now. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #87 from [EMAIL PROTECTED]  2007-03-15 15:15 PST ---
No change when using fragment.position for the TEX lookup and adding one of
MOV
tmp.z, 1.0;, MOV tmp.z, 0.0;, MOV tmp.w, 1.0;, MOV tmp.w, 0.0; or MOV
result.color, {1.0}.x before the TEX result.color, tmp, texture[0], 2D;

Maybe it's something in emit_tex? Just a stab in the dark; maybe you have a
better idea.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-15 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #88 from [EMAIL PROTECTED]  2007-03-15 15:17 PST ---
Just to be clear, the testing program would look something like:

!!ARBfp1.0
TEMP tmp;
MOV tmp.xy, fragment.position;
MUL tmp.xy, tmp, program.local[0];
MUL tmp.xy, tmp, program.local[1];
# XXX: Test instruction here.
TEX result.color, tmp, texture[0], 2D;
END


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #59 from [EMAIL PROTECTED]  2007-03-06 02:47 PST ---
I think I figured out why the vertical mirror isn't working. For some reason
it's fragment.position (after appropriate scaling and non-power-of-two adjust)
seems to be mostly blue/cyan...  From what I've seen previously with the blob,
it should be yellow/white. I'll make some screenshots with the same angle for
comparison soon. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #60 from [EMAIL PROTECTED]  2007-03-06 03:19 PST ---
Created an attachment (id=8995)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8995action=view)
Blob rendering the vertical mirror with correct XY masking.

This is the blob rendering the vertical mirror with correct masking, as in the
following program. The results are the correct ones because this will work
correctly when I use it with the TEX instruction.

!!ARBfp1.0

TEMP tmp;

MOV tmp.xy, fragment.position;
MUL tmp.xy, tmp, program.local[0];
MUL tmp.xy, tmp, program.local[1];
MOV result.color.xy, tmp;

END


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #61 from [EMAIL PROTECTED]  2007-03-06 03:21 PST ---
Created an attachment (id=8996)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8996action=view)
R300 rendering the vertical mirror with correct XY masking.

Same program as the previous comment, however this gives incorrect rendering on
R300. The previous screenshot (from the blob) shows the correct rendering
should be blue/cyan (ignore my initial comment saying otherwise) but this
screenshot is a green/yellow/red.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #62 from [EMAIL PROTECTED]  2007-03-06 03:27 PST ---
Created an attachment (id=8997)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8997action=view)
R300 rendering the vertical mirror with INCORRECT XYZ masking.

This is R300 rendering the vertical mirror with incorrect XYZ masking on the
final result.color MOV, as in this program. Notice the result.color MOV.

!!ARBfp1.0

TEMP tmp;

MOV tmp.xy, fragment.position;
MUL tmp.xy, tmp, program.local[0];
MUL tmp.xy, tmp, program.local[1];
MOV result.color.xyz, tmp;

END

I'm not exactly sure what's going on, but the blob was defiantly using the XY
mask when I made it's screenshot. So it must be doing something differently.
I'll wait for your reply, Rune, as I'm not really sure what's going on.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-03-06 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #63 from [EMAIL PROTECTED]  2007-03-06 03:31 PST ---
I also did some more checking with just an X mask (result.color.x) and R300
generates a red color, while the blob generates a cyan color. So I think
something is missing... 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #54 from [EMAIL PROTECTED]  2007-02-28 08:03 PST ---
Created an attachment (id=8905)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8905action=view)
wpos for texure patch

your scales tells me that the range for X  Y is [0 1] meaning my original
hunch was correct, could you try this patch, without scaling X  Y.

How to handle these two ranges properly in the driver I'll have to figure out.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #55 from [EMAIL PROTECTED]  2007-02-28 18:50 PST ---
I just tried your patch, and if I disable the scaling that I do manually in the
fragment program (MUL tmp.xy, tmp, program.local[0];) it will work just as if I
still had the scaling.  So basically the driver seems to do the scaling then,
but I think this is wrong, with the blob I must manually scale the
fragment.position with a MUL. Also, it seems a non-power-of-two adjust is
needed for both drivers, so I'm applying that via a MUL now, too. I don't think
the driver should do the scaling automatically; yes, it works for my purposes,
but I'm not sure it's compliant with the specification.  If I only apply the
first patch to move the fragment.position calculation into the fragment
program, then I can do the scaling/non-power-of-two adjust myself and get
almost prefect results. As I showed before, I can get the mirror to work
correctly when it's on the floor, however the vertical mirror doesn't seem to
work correctly.  On the vertical mirror it's almost as if it's looking from
behind the mirror, which shouldn't happen. When I apply correct
scaling/non-power-of-two adjust, it looks like the front of the mirror is the
same as the back of the mirror. Both sides appear to have the back-of-mirror
texture applied to them. The back of the mirror does have this texture applied
to it, but the front of the mirror only gets this texture as a result of the
mirroring. If this makes sense.  It's really weird. I can't explain how the
texture or the fragment.position would cause it to appear to be looking from
behind the mirror. So perhaps this is another non-fragment.position related
bug?  Also, just letting you know that I will be away from Friday to Sunday,
and possibly Monday (local timezone), but I'll try to reply as soon as
possible. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #56 from [EMAIL PROTECTED]  2007-02-28 18:51 PST ---
Bugzilla seemed to destroy the paragraphs on that last reply, sorry. :(


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-28 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #57 from [EMAIL PROTECTED]  2007-02-28 18:56 PST ---
This is the same message as before, but with double newlines so that
(hopefully)
bugzilla won't try to destroy the formatting. If it does, I guess someone can
delete this duplicate message.


I just tried your patch, and if I disable the scaling that I do manually in the
fragment program (MUL tmp.xy, tmp, program.local[0];) it will work just as if I
still had the scaling.


So basically the driver seems to do the scaling then, but I think this is
wrong,
with the blob I must manually scale the fragment.position with a MUL. Also, it
seems a non-power-of-two adjust is needed for both drivers, so I'm applying
that
via a MUL now, too. I don't think the driver should do the scaling
automatically; yes, it works for my purposes, but I'm not sure it's compliant
with the specification.


If I only apply the first patch to move the fragment.position calculation into
the fragment program, then I can do the scaling/non-power-of-two adjust myself
and get almost prefect results. As I showed before, I can get the mirror to
work
correctly when it's on the floor, however the vertical mirror doesn't seem to
work correctly.


On the vertical mirror it's almost as if it's looking from behind the mirror,
which shouldn't happen. When I apply correct scaling/non-power-of-two adjust,
it
looks like the front of the mirror is the same as the back of the mirror. Both
sides appear to have the back-of-mirror texture applied to them. The back of
the
mirror does have this texture applied to it, but the front of the mirror only
gets this texture as a result of the mirroring. If this makes sense.


It's really weird. I can't explain how the texture or the fragment.position
would cause it to appear to be looking from behind the mirror. So perhaps this
is another non-fragment.position related bug?


Also, just letting you know that I will be away from Friday to Sunday, and
possibly Monday (local timezone), but I'll try to reply as soon as possible.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #42 from [EMAIL PROTECTED]  2007-02-27 06:43 PST ---
The transition is too narrow try:
MUL result.color.x, fragment.position, {0.0005}.x;
MUL result.color.y, fragment.position, {0.001}.x;

Though I must say they look almost identical.
Could it be that fragment.position is now correct, but there is a texturing
bug?

Is there a way for you to apply the texture in a similar way, but doesn't use
fragment.position. It shouldn't look correct, I would just like to confirm if
the texture is applied correctly.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #43 from [EMAIL PROTECTED]  2007-02-27 07:23 PST ---
I'm also starting to think that fragment.position is now correct, but there is
some other bug. I can get somewhat correct rendering with R300 now. It is not
completely correct, there is some bug because it seems the mirror direction is
reversed, or perhaps it's some other problem.  I'll make a screenshot of the
latest R300 rendering, and you can commit your latest patch. I think there
might still be some work that needs to be done, but your patch certainly helps
towards this goal 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #44 from [EMAIL PROTECTED]  2007-02-27 07:36 PST ---
Created an attachment (id=8882)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8882action=view)
R300 fragment.position * 0.005

This is a screenshot of rendering with R300 with the following fragment
program.
Bugzilla will probably destroy up the formatting here, but it should still be
readable.

MUL tmp, fragment.position, {0.005}.x;
TEX result.color, tmp, texture[0], 2D;

Ignore the fact that this isn't scaled properly, that's not the point; the
point
is what you can see in the texture that is rendered.

If you compare this to the blob screenshot which I will attach next, you can
see
the rendering is incorrect. I'm not exactly sure why yet. The blob screenshot
is
the correct one. Both screenshots are generated by exactly the same code. The
only difference is the 3D driver.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #45 from [EMAIL PROTECTED]  2007-02-27 07:37 PST ---
Created an attachment (id=8883)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8883action=view)
Blob fragment.position * 0.005


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #46 from [EMAIL PROTECTED]  2007-02-27 07:39 PST ---
Also, both screenshots have been taken from exactly the same position so that
they can be compared easily.

You can see that the R300 screenshot is very different when compared to the
blob
screenshot. I'm not sure what this means yet, but I suspect it's related to the
incorrect rendering with R300.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #47 from [EMAIL PROTECTED]  2007-02-27 08:35 PST ---
a hunch:
in fragprog.c replace:
fpi[i].SrcReg[1].File = PROGRAM_STATE_VAR;
fpi[i].SrcReg[1].Index = window_index;
fpi[i].SrcReg[1].Swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y,
SWIZZLE_Z, SWIZZLE_ZERO);

fpi[i].SrcReg[2].File = PROGRAM_STATE_VAR;
fpi[i].SrcReg[2].Index = window_index;
fpi[i].SrcReg[2].Swizzle = MAKE_SWIZZLE4(SWIZZLE_X, SWIZZLE_Y,
SWIZZLE_Z, SWIZZLE_ZERO);

with:
fpi[i].SrcReg[1].File = PROGRAM_STATE_VAR;
fpi[i].SrcReg[1].Index = window_index;
fpi[i].SrcReg[1].Swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_Z,
SWIZZLE_Z, SWIZZLE_ZERO);

fpi[i].SrcReg[2].File = PROGRAM_STATE_VAR;
fpi[i].SrcReg[2].Index = window_index;
fpi[i].SrcReg[2].Swizzle = MAKE_SWIZZLE4(SWIZZLE_Z, SWIZZLE_Z,
SWIZZLE_Z, SWIZZLE_ZERO);

A bit messy, I make a patch when I get home.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #48 from [EMAIL PROTECTED]  2007-02-27 09:04 PST ---
I think that change made it worse; now it's mostly a grey blob, probably from
the floor texture.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #49 from [EMAIL PROTECTED]  2007-02-27 09:46 PST ---
in the same code:
try to replace the first set of SWIZZLE_Z with SWIZZLE_ONE
and replace the second set of SWIZZLE_Z with SWIZZLE_ZERO

This should make it a straight MOV command.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #50 from [EMAIL PROTECTED]  2007-02-27 09:58 PST ---
Didn't seem to help. Do you want a screenshot?  I also tried the MUL
result.color, fragment.position, {0.005}.x;, but it produces black. I didn't
look at the RGB values, just looks black. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #51 from [EMAIL PROTECTED]  2007-02-27 11:45 PST ---
My theory is that the TEX instruction needs its parameters in a different
range.

Lets try something different:
remove the last 2 changes, so you only have the wpos in FP hack.
then do something like this:
MUL tmp.x, fragment.position, {0.0001}.x;
MUL tmp.y, fragment.position, {0.005}.x;
TEX result.color, tmp, texture[0], 2D;

Change the constants so it is scaled properly, don't think about offset.
Then report back the constants used, and the canvas dimensions.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #52 from [EMAIL PROTECTED]  2007-02-27 21:02 PST ---
Created an attachment (id=8894)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8894action=view)
R300 fragment.position with correct range modification via MUL

This is a screenshot of R300 with fragment.position modified into the correct
range by a local parameter. There is no power-of-two adjust, though it
shouldn't
be needed here.

fbufWidthScale = 1.0 / glConfig.vidWidth;
fbufHeightScale = 1.0 / glConfig.vidHeight;

You can see it kind of works. You can see it's almost as if the mirrored view
is
behind the mirror object; the back of the mirror is the metal looking texture
seen in the mirror.

Exactly the same code works on the blob, so this is entirely a R300 problem,
not
an error on my part. Not trying to point blame or anything like that, but it
means we can eliminate one thing. :)

Also, we must be doing something different than the blob, because if you look
at
the screenshots of the unmodified fragment.position you can see the black gaps
are different sizes, etc. I think perhaps R300 might need to do some extra math
on fragment.position?

I think this might be close to working soon, though.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-27 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #53 from [EMAIL PROTECTED]  2007-02-27 22:17 PST ---
Created an attachment (id=8896)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8896action=view)
R300 with the floor as a mirror

I just tried turning the floor into a mirror surface, and this seems to work
correctly on R300, even though the other mirror surface doesn't work on R300.

Maybe it's an orientation thing; something might go wrong with
fragment.position
when the mirror is vertical relative to the view, but it works fine when the
mirror is horizontal relative to the view.

Although with the floor as a mirror, I could move around and change the view
angles without any noticeable rendering errors...

This is very strange.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #37 from [EMAIL PROTECTED]  2007-02-26 11:50 PST ---
I would still like you to confirm the X  Y values.

Do something like:
MUL result.color.xy, fragment.color.xy, {0.005}.x;

If you could send me a screenshot from r300  blog, so I can compare


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #38 from [EMAIL PROTECTED]  2007-02-26 19:35 PST ---
I assume you mean MUL result.color.xy, fragment.position.xy, {0.005}.x; and
not fragment.color.  I'm testing with MUL result.color.xy,
fragment.position.xy, {0.005}.x; now, and I'll post the attach the screenshots
after I'm done. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #39 from [EMAIL PROTECTED]  2007-02-26 19:42 PST ---
Created an attachment (id=8865)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8865action=view)
R300 fragment.position.xy

I had to use MUL result.color.xy, fragment.position, {0.005}.x; for the
program to successfully load (removed the .xy mask on fragment.position) but
this shouldn't make a difference since result.color is masked for .xy anyway.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #40 from [EMAIL PROTECTED]  2007-02-26 19:53 PST ---
Created an attachment (id=8866)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8866action=view)
Blob fragment.position.xy

Ditto


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-26 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #41 from [EMAIL PROTECTED]  2007-02-26 19:59 PST ---
I forgot to mention that the R300 screenshot is with your patch to calculate
the
WPOS in the fragment program.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #34 from [EMAIL PROTECTED]  2007-02-25 03:09 ---
the gradients look right to me, fragment.position is camera. So Z should be the
distance from the camera. and in your case should always result in yellow close
to the camera, and white far from the camera.

Of course I may be wrong again.
Does the blob really render it differently?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-25 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #35 from [EMAIL PROTECTED]  2007-02-25 06:19 ---
You're correct about the left vs right color, I confirmed this with the blob,
too.  I'm not sure why this isn't rendering correctly with R300 then. It seems
that it should be working... 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #26 from [EMAIL PROTECTED]  2007-02-24 09:38 ---
Created an attachment (id=8837)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8837action=view)
wpos in FP hack

I have managed to hack together a patch that works correctly for the test app I
made. how does it look on your end?

This is just a PoC.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #27 from [EMAIL PROTECTED]  2007-02-24 16:35 ---
With that patch it seems that the fragment.position is just completely yellow
when written to result.color, which isn't correct. It should be yellow fading
into white.  I guess this is a good start though, getting the position
calculation into the fragprog. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #28 from [EMAIL PROTECTED]  2007-02-24 16:48 ---
please attach a screenshot, I need to look at the RGB levels.
if you could make it the same angle as in the blob rendering it would be
easier.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #29 from [EMAIL PROTECTED]  2007-02-24 17:15 ---
I think that first time when the fragment.position was completely yellow was
just some freak R300 error, which does happen sometimes... I've seen a number
of
such errors on various things.

Anyway, I've cleaned my Mesa tree and recompiled, and it does seem to get the
white to yellow gradient now, however there are some problems.

When looking from left to right you see the correct result (yellow to white),
however when looking right to left you see the wrong result (yellow to white,
too); it should be white to yellow.

I'll attach some screenshots, that should make it clear.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #30 from [EMAIL PROTECTED]  2007-02-24 17:16 ---
Created an attachment (id=8841)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8841action=view)
Looking from the left to the right


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #31 from [EMAIL PROTECTED]  2007-02-24 17:17 ---
Created an attachment (id=8842)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8842action=view)
Looking from the right to the left


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #32 from [EMAIL PROTECTED]  2007-02-24 17:20 ---
Created an attachment (id=8843)
 -- (http://bugs.freedesktop.org/attachment.cgi?id=8843action=view)
Rendering with R300 and the latest patch

Here's a screenshot of the rendering with R300 and the latest patch. You can
see
it's not correct, but I think it's better than before.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-24 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #33 from [EMAIL PROTECTED]  2007-02-24 17:23 ---
I found that tri-position does seem to generate completely yellow (no yellow to
white gradient) though.

If you like, I can make a screenshot of tri-position, too?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #23 from [EMAIL PROTECTED]  2007-02-23 12:03 ---
It looks pretty straight forward.

in stead of doing the calculations in the vertex shader, pass the value
straight to the fragment shader and calculate there.

It will take some time, there isn't a framework for changes to the fragment
program as there is for the vertex program.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #24 from [EMAIL PROTECTED]  2007-02-23 15:05 ---
So the instructions that are added to the vertex program are correct, but
because they are in the vertex program they generate some errors in the result?
 I guess the same kind of instruction insertion would work in the fragment
program. There is already a mechanism to pass the number of the texcoord
containing the data that's needed from the vertex program into the fragment
program, so it shouldn't be too hard... I think. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 10024] R300 fragment.position viewport transformation is incorrect

2007-02-23 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=10024





--- Comment #25 from [EMAIL PROTECTED]  2007-02-23 15:07 ---
Oh, I see... The fragment program just sets the texcoord number for the vertex
program to use. It doesn't really have the ability to insert instructions yet.
Obviously that would have to be done first.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel