diff options
| author | yum <yum.food.vr@gmail.com> | 2024-09-18 23:24:49 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-09-18 23:24:49 -0700 |
| commit | b904835dc91db76627ecb08636cd5c339a07a1df (patch) | |
| tree | cf0bc3b06f318e802b7d855e78a9ddcdbec6d3a2 /clones.cginc | |
| parent | 0b12f0aff502b04e48efd3141637fc0bb20a7f2d (diff) | |
Add shader inlining tooling
This should solve the issue of Unity failing to fully recompile my
fucking shader.
Diffstat (limited to 'clones.cginc')
| -rw-r--r-- | clones.cginc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/clones.cginc b/clones.cginc index fe51f18..00612f3 100644 --- a/clones.cginc +++ b/clones.cginc @@ -1,11 +1,11 @@ +#include "interpolators.cginc" +#include "globals.cginc" + #ifndef __CLONES_INC #define __CLONES_INC #if defined(_CLONES) -#include "interpolators.cginc" -#include "globals.cginc" - void add_clones(in v2f clone_verts[3], inout TriangleStream<v2f> tri_out) { if (_Clones_dx < 1E-6) { @@ -34,6 +34,5 @@ void add_clones(in v2f clone_verts[3], inout TriangleStream<v2f> tri_out) } #endif // _CLONES - #endif // __CLONES_INC |
