summaryrefslogtreecommitdiff
path: root/modules/lightmapper_rd/lm_common_inc.glsl
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-13 11:40:14 +0200
committerGitHub <noreply@github.com>2021-10-13 11:40:14 +0200
commit2eeb9a8d0e831b9e149078bf635e3340a065fe4b (patch)
treef326f817918c6c5de4d4891a0c28204b21ef7b01 /modules/lightmapper_rd/lm_common_inc.glsl
parentd742dcd3ceaa614d2688caed59ec0c75d4041985 (diff)
parent9e58b02252944ea128da186c056c4f46c482fbd0 (diff)
Merge pull request #53322 from williamd67/GPULightmapper-skip-smoothen-positions-flat-triangle
Diffstat (limited to 'modules/lightmapper_rd/lm_common_inc.glsl')
-rw-r--r--modules/lightmapper_rd/lm_common_inc.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/lightmapper_rd/lm_common_inc.glsl b/modules/lightmapper_rd/lm_common_inc.glsl
index 22172d50e4..58523dc1f8 100644
--- a/modules/lightmapper_rd/lm_common_inc.glsl
+++ b/modules/lightmapper_rd/lm_common_inc.glsl
@@ -81,3 +81,7 @@ layout(set = 0, binding = 8) uniform texture2DArray albedo_tex;
layout(set = 0, binding = 9) uniform texture2DArray emission_tex;
layout(set = 0, binding = 10) uniform sampler linear_sampler;
+
+// Fragment action constants
+const uint FA_NONE = 0;
+const uint FA_SMOOTHEN_POSITION = 1;