mirror of
https://github.com/love2d/love.git
synced 2026-08-20 20:49:54 +02:00
shaders: default to std430 layout for storage buffers.
This commit is contained in:
@@ -136,6 +136,10 @@ static const char global_functions[] = R"(
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __VERSION__ >= 430 || (defined(GL_ES) && __VERSION__ >= 310)
|
||||||
|
layout (std430) buffer;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __VERSION__ >= 130 && !defined(LOVE_GLSL1_ON_GLSL3)
|
#if __VERSION__ >= 130 && !defined(LOVE_GLSL1_ON_GLSL3)
|
||||||
#define Texel texture
|
#define Texel texture
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user