GPU: Shader Create Info GLSL-C++ stubs #3

Closed
Clément Foucault wants to merge 90 commits from create-info-cpp-macros into glsl-include

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit df54449678 - Show all commits

View File

@ -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() {}