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 04a22845e9 - Show all commits

View File

@ -590,6 +590,6 @@ int gpu_ViewportIndex;
void discard; void discard;
/* TODO(fclem): Should be in a lib instead of being impemented by each backend. */ /* TODO(fclem): Should be in a lib instead of being impemented by each backend. */
bool is_zero(vec2 A) {} bool is_zero(vec2) {}
bool is_zero(vec3 A) {} bool is_zero(vec3) {}
bool is_zero(vec4 A) {} bool is_zero(vec4) {}