[Bug 86789] Roundabout game, green tint on open source radeon driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 2 14:30:35 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=86789

Ian Romanick <idr at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #5 from Ian Romanick <idr at freedesktop.org> ---
Since this is actually a Cg shader, it's hard to say for sure.  Is the error
log from the driver available?

Depending on the GLSL version that is used, it is probably these lines:

    float y = yuv.b *255;
    float u = yuv.g *255;
    float v = yuv.r *255;

Many GLSL versions do not do automatic type conversions.  If you change these
to

    float y = yuv.b *255.;
    float u = yuv.g *255.;
    float v = yuv.r *255.;

it should work.  Some of the other constants may need similar treatment.

You could also request a GLSL version that does automatic conversions (1.20 or
later).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141202/2a7669ba/attachment.html>


More information about the dri-devel mailing list