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 5b2a56ca03 - Show all commits

View File

@ -148,8 +148,8 @@ namespace blender::gpu::shader {
# define FRAGMENT_SOURCE(filename) .fragment_source(filename) # define FRAGMENT_SOURCE(filename) .fragment_source(filename)
# define COMPUTE_SOURCE(filename) .compute_source(filename) # define COMPUTE_SOURCE(filename) .compute_source(filename)
# define DEFINE(name) .define(#name) # define DEFINE(name) .define(name)
# define DEFINE_VALUE(name, value) .define(#name, #value) # define DEFINE_VALUE(name, value) .define(name, value)
# define DO_STATIC_COMPILATION() .do_static_compilation(true) # define DO_STATIC_COMPILATION() .do_static_compilation(true)
# define AUTO_RESOURCE_LOCATION() .auto_resource_location(true) # define AUTO_RESOURCE_LOCATION() .auto_resource_location(true)