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 20112f00be - Show all commits

View File

@ -113,7 +113,7 @@ ClosureType gbuffer_mode_to_closure_type(uint mode)
* This allows for writing unit tests that read and write during the same shader invocation.
* \{ */
#ifdef GBUFFER_LOAD
#if defined(GBUFFER_LOAD) || defined(GLSL_CPP_STUBS)
/* Read only shader. Use correct types and functions. */
# define samplerGBufferHeader usampler2D
# define samplerGBufferClosure sampler2DArray