[Mesa-dev] [PATCH] i965: fix inverted point sprite origin when rendering to FBO

Yuanhan Liu yuanhan.liu at linux.intel.com
Wed Jan 18 18:09:02 PST 2012


On Wed, Jan 18, 2012 at 12:13:28PM -0800, Ian Romanick wrote:
> On 01/18/2012 02:21 AM, Yuanhan Liu wrote:
> >On Wed, Jan 18, 2012 at 06:23:52PM +0800, Yuanhan Liu wrote:
> >>When rendering to FBO, rendering is inverted. At the same time, we would
> >>also make sure the point sprite origin is inverted. Or, we will get an
> >>inverted result correspoinding to rendering to the default winsys FBO.
> >>
> >>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44613
> >
> >Actually, I'm not sure about this patch, and I would like to treat this
> >patch as a _workaround_. So, any comments are welcome.
> 
> Why?  Do you have a different solution in mind? 

Since I tried to 'fix' this issue. Acutally, this is the first
"workaround fix" I thought when met this issue. I just don't know why
then. Well, Nanhai's suggestion told me that this _might_ be the right
fix for this issue. But I'm still a little unsure, so that's why.

> This patch fixes
> this problem the way I would have expected it to be fixed.

Yes, it does.

Thanks,
Yuanhan Liu


More information about the mesa-dev mailing list