[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Possible nVidia driver bug? - (code sample attached)



Stephen J Baker wrote:
The one thing that's kinda encouraging is that the nVidia GLSL compiler
appears to share a LOT of code with their Cg compiler.  We can infer this
because some keywords that Cg uses (but GLSL doesn't) are incorrectly
disallowed as variable names in nVidia's GLSL comiler!

AFAIK nvidia's GLSL implementation translates GLSL to intermediate Cg code and then uses an integrated Cg compiler to generate the actual arch-specific program.

--Adam
--
Adam D. Moss   . ,,^^   adam@xxxxxxxx   http://www.foxbox.org/   co:3
"... so make sure your illness is early in the financial year."