GPU: GLSL-C++ compilation stubs #4

Closed
Clément Foucault wants to merge 38 commits from glsl-cpp-stubs-2 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 fc0b9efd5e - Show all commits

View File

@ -676,6 +676,15 @@ float gl_ClipDistance[6] = {0};
int gpu_Layer = 0;
int gpu_ViewportIndex = 0;
/* Compute Shader Special Variables */
const uint3 gl_NumWorkGroups;
constexpr uint3 gl_WorkGroupSize;
const uint3 gl_WorkGroupID;
const uint3 gl_LocalInvocationID;
const uint3 gl_GlobalInvocationID;
const uint gl_LocalInvocationIndex;
/** \} */
/* -------------------------------------------------------------------- */