From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 86789] Roundabout game, green tint on open source radeon driver Date: Tue, 02 Dec 2014 22:30:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0741397375==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D3646FDB1 for ; Tue, 2 Dec 2014 14:30:35 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0741397375== Content-Type: multipart/alternative; boundary="1417559435.FFd1B1.27852"; charset="UTF-8" --1417559435.FFd1B1.27852 Date: Tue, 2 Dec 2014 22:30:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=86789 Ian Romanick changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #5 from Ian Romanick --- 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. --1417559435.FFd1B1.27852 Date: Tue, 2 Dec 2014 22:30:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" 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:
  • You are the assignee for the bug.
--1417559435.FFd1B1.27852-- --===============0741397375== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0741397375==--