OSDN Git Service

progs/glsl: Add workarounds for Apple GLSL compiler crash.
authorVinson Lee <vlee@vmware.com>
Mon, 29 Mar 2010 21:56:12 +0000 (14:56 -0700)
committerVinson Lee <vlee@vmware.com>
Mon, 29 Mar 2010 21:56:12 +0000 (14:56 -0700)
commit90075f34e24a6d6c16198c5b99fb25d713910e8a
tree3922fd759ed306602e4acd063694896935bc077c
parent52f728921563192ccbabf5ffe98234d8d330b933
progs/glsl: Add workarounds for Apple GLSL compiler crash.

fsraytrace and vsraytrace were crashing on Mac OS X 10.6.3 in the Apple
GLSL compiler function TPPStreamCompiler::assignOperands. Removing some
const qualifers made the crashes go away.
progs/glsl/fsraytrace.c
progs/glsl/vsraytrace.c