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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 86789
What Removed Added
Status NEW NEEDINFO

Comment # 5 on bug 86789 from
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux