summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
committeryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
commitb904835dc91db76627ecb08636cd5c339a07a1df (patch)
treecf0bc3b06f318e802b7d855e78a9ddcdbec6d3a2 /globals.cginc
parent0b12f0aff502b04e48efd3141637fc0bb20a7f2d (diff)
Add shader inlining tooling
This should solve the issue of Unity failing to fully recompile my fucking shader.
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc4
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.cginc b/globals.cginc
index 4c71a85..64d3410 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -1,8 +1,8 @@
+#include "AutoLight.cginc"
+
#ifndef __GLOBALS_INC
#define __GLOBALS_INC
-#include "AutoLight.cginc"
-
SamplerState linear_repeat_s;
SamplerState linear_clamp_s;