mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed glsl-optimizer crash on Linux (GCC4.7.2 inlining bug?!).
This commit is contained in:
parent
368fddf5d4
commit
2936474f49
3 changed files with 5 additions and 0 deletions
|
@ -239,6 +239,11 @@ public:
|
|||
bool progress;
|
||||
};
|
||||
|
||||
#if defined(__GNUC__)
|
||||
// BK - 'gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2'
|
||||
// If destroy_links is inlined code crashes in n->remove().
|
||||
__attribute__((noinline))
|
||||
#endif // defined(__GNUC__)
|
||||
static void
|
||||
destroy_links(exec_list *list, function *f)
|
||||
{
|
||||
|
|
BIN
tools/bin/geometryc
Executable file
BIN
tools/bin/geometryc
Executable file
Binary file not shown.
BIN
tools/bin/shaderc
Executable file
BIN
tools/bin/shaderc
Executable file
Binary file not shown.
Loading…
Reference in a new issue