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

Re: [Public WebGL] Need to start getting serious about shaders



On 12/06/2010 23:26, Chris Marrin wrote:
> 1) doing math between floats and ints without an explicit cast (allowed on some NVidia drivers but not ATI on Mac)
>   
It's not really relevant for WebGL but you have to go as far back as the
very first version of GLSL for desktop, i.e. v1.10, to find no implicit
casting. Since v1.20, int expressions can be implicitly converted to
float but not vice-versa. Without knowing the expression involved it is
not possible say if you are suffering from a very old ATI driver or a
buggy driver (either ATI or NVidia).

Regards

    -Mark
begin:vcard
fn:Mark Callow
n:Callow;Mark
org:HI Corporation;Graphics Lab, Research & Development
adr:Higashiyama 1-4-4, Meguro-ku;;Meguro Higashiyama Bldg 5F;Tokyo;;153-0043;Japan
email;internet:callow_mark@hicorp.co.jp
title:Chief Architect
tel;work:+81 3 3710 9367 x228
tel;fax:+81 3 5773 8660
x-mozilla-html:TRUE
url:http://www.hicorp.co.jp,  http://www.mascotcapsule.com
version:2.1
end:vcard