forked from blender/blender
GPU: Shader Create Info GLSL-C++ stubs #3
@ -715,6 +715,9 @@ const uint gl_LocalInvocationIndex;
|
|||||||
/* Discards the output of the current fragment shader invocation and halts its execution. */
|
/* Discards the output of the current fragment shader invocation and halts its execution. */
|
||||||
# define discard
|
# define discard
|
||||||
|
|
||||||
|
/* Decorate a variable in global scope that is common to all threads in a threadgroup. */
|
||||||
|
# define shared
|
||||||
|
|
||||||
namespace gl_ComputeShader {
|
namespace gl_ComputeShader {
|
||||||
void barrier() {}
|
void barrier() {}
|
||||||
void memoryBarrier() {}
|
void memoryBarrier() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user