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.
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 871e3e2e4f - Show all commits

View File

@ -59,7 +59,7 @@ struct ObjectRef;
/** \name Views /** \name Views
* \{ */ * \{ */
#ifndef DRW_VIEW_LEN #if !defined(DRW_VIEW_LEN) && !defined(GLSL_CPP_STUBS)
/* Single-view case (default). */ /* Single-view case (default). */
# define drw_view_id 0 # define drw_view_id 0
# define DRW_VIEW_LEN 1 # define DRW_VIEW_LEN 1

View File

@ -4,7 +4,7 @@
#pragma once #pragma once
#ifndef DRAW_VIEW_CREATE_INFO #if !defined(DRAW_VIEW_CREATE_INFO) && !defined(GLSL_CPP_STUBS)
# error Missing draw_view additional create info on shader create info # error Missing draw_view additional create info on shader create info
#endif #endif