OSDN Git Service

glsl2: Fixed cloning of ir_call error instructions.
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 17 Sep 2010 23:56:34 +0000 (01:56 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 18 Sep 2010 07:19:57 +0000 (09:19 +0200)
commit3894fddccc3a6da91513b49142a8f0dbbf8aa448
treeb8b1e6857242a7f82e8b86bd1aaadf163678a252
parenta822ae3f1a14ddd00a6368d767213ea42d00e7fb
glsl2: Fixed cloning of ir_call error instructions.

Those have the callee field set to the null pointer, so
calling the public constructor will segfault.

Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
src/glsl/ir_clone.cpp