Corbin Simpson wrote:
> Brian Paul wrote:
>> Corbin Simpson wrote:
>>> Subject says it all. st_TexImage in st_texture.c doesn't translate 
>>> format target, just format, and as a result I'm getting bad results in 
>>> r300 while trying to generate pixmaps. (Only I get this error, because 
>>> apparently I'm the only one that actually checks these fields.)
>>>
>>> Anyway, I wasn't sure what the best way to fix this was, so I figured 
>>> I'd just bring it to the list. (I know it won't be fixed until Monday, 
>>> that's fine. :3 )
>> Can you be more specific about where the problem is?  I took a look and 
>> didn't see anything wrong.
> 
> Attached trace should be useful. Call #70 has a target of 3553 
> (GL_TEXTURE_2D) but it really should be 1 (PIPE_TEXTURE_2D). I felt that 
> being lenient with Gallium was not the proper thing to do. st_TexImage 
> was my guess for a proper fix, but maybe it should be fixed one layer up?

OK, I see the problem.  I'm fixing it now.

> And yeah, if I just return TRUE, it works. If I return FALSE, it falls 
> over during the mipmap fallback.

Yeah, I'm seeing a segfault in the software mipmap generation path 
too.  I'll dig into it...

-Brian


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to