Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=5459          
     




------- Additional Comments From [EMAIL PROTECTED]  2006-01-06 18:49 -------
(In reply to comment #2)
> I'm not able to test this myself on r300 hardware currently.  How does the 
> test
> case fail? ie. complete blackness, or just the wrong image?

First one was black and second darkish.
However, I tested this again on r480 and got different results.
Some more testing reveals that sometimes it works and sometimes not.
Im suspecting undefined z or w component is leaking into to the tex instruction,
thus causing random behaviour.

> 
> Also, are you able to turn on the dump_program() call at the end of
> translate_fragment_shader() and post the output please?

I have been able to reproduce this with another program:
"!!ARBfp1.0\n"
"ATTRIB i0 = fragment.color;"
"TEMP t0, t1;"
"MOV t0, i0;"
"TEX result.color, t0, texture[0], 2D;"
"END"

I either get zero visible fragments with this or then it works as expected.

output:

pc=1*************************************
Mesa program:
-------------
  0: MOV TEMP[0], INPUT[1];
  1: TEX  OUTPUT[0], TEMP[0], texture[0], 2D
  2: END;
Hardware program
----------------

tex:
00008081

NODE 0: alu_offset: 0, tex_offset: 0, alu_end: 0, tex_end: -1
NODE 1: alu_offset: 1, tex_offset: 0, alu_end: 1, tex_end: 0
00011230
00050a80
00050a80
000111b0
03860800
1c020802
00011270
00040889
00040889
000111f0
00860800
01020802
00000000          
     
     
--           
Configure bugmail: https://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.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to