Microcode caching broken when using GLSL shaders

Description

Original reporter: scrawl

On 64 bit linux system, attempting to use microcode caching of the GpuProgramManager with GLSL shaders simply causes all materials to display without shaders (fixed function) after loading from the cache file.

With CG shaders, this feature works.

On 32 bit linux system, if the application does

Ogre::GpuProgramManager::getSingletonPtr()->setSaveMicrocodesToCache(true);

when using GLSL shaders, OGRE will crash on the first render frame in GLSLLinkProgram::compileAndLink line 580.

Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=543

Environment

None

Assignee

M

Reporter

Philip Allgaier

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure