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 /interpolators.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 'interpolators.cginc')
| -rw-r--r-- | interpolators.cginc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interpolators.cginc b/interpolators.cginc index df645de..3b9bdcd 100644 --- a/interpolators.cginc +++ b/interpolators.cginc @@ -1,8 +1,8 @@ +#include "AutoLight.cginc" + #ifndef __INTERPOLATORS_INC #define __INTERPOLATORS_INC -#include "AutoLight.cginc" - #if defined(_OUTLINE_INTERPOLATORS) struct appdata @@ -44,7 +44,7 @@ struct v2f UNITY_VERTEX_OUTPUT_STEREO }; -#else +#else // _OUTLINE_INTERPOLATORS struct appdata { @@ -91,7 +91,7 @@ struct v2f UNITY_VERTEX_INPUT_INSTANCE_ID UNITY_VERTEX_OUTPUT_STEREO }; -#endif +#endif // _OUTLINE_INTERPOLATORS #endif // __INTERPOLATORS_INC |
