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 fd8bba622d - Show all commits

View File

@ -180,6 +180,14 @@ template<typename T> struct ColSwizzle4 : ColSwizzle3<T> {
&aabr, &aabg, &aabb, &aaba, &aaar, &aaag, &aaab, &aaaa;
};
template<typename T> struct VecBase<T, 1> {
VecBase() = default;
template<typename U> explicit VecBase(VecBase<U, 1>) {}
VecBase(T) {}
operator T() {}
};
template<typename T> struct VecBase<T, 2> : VecOp<T, 2>, VecSwizzle2<T>, ColSwizzle2<T> {
T x, y;
T r, g;