mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed glsl-optimizer crash on Linux (GCC4.7.2 inlining bug?!).
This commit is contained in:
@@ -239,6 +239,11 @@ public:
|
|||||||
bool progress;
|
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
|
static void
|
||||||
destroy_links(exec_list *list, function *f)
|
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.
Reference in New Issue
Block a user