aboutsummaryrefslogtreecommitdiff
path: root/src/shaders/out/gl/BlurY_PS.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shaders/out/gl/BlurY_PS.h')
-rw-r--r--src/shaders/out/gl/BlurY_PS.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/shaders/out/gl/BlurY_PS.h b/src/shaders/out/gl/BlurY_PS.h
new file mode 100644
index 0000000..7dc0d0e
--- /dev/null
+++ b/src/shaders/out/gl/BlurY_PS.h
@@ -0,0 +1,49 @@
+//! This file was auto-generated. Do not modify manually.
+#pragma once
+
+namespace Generated
+{
+
+namespace ShaderPermutations
+{
+
+#ifndef ENABLE_SHARPNESS_PROFILE_DEFINED
+#define ENABLE_SHARPNESS_PROFILE_DEFINED
+ enum ENABLE_SHARPNESS_PROFILE
+ {
+ ENABLE_SHARPNESS_PROFILE_0,
+ ENABLE_SHARPNESS_PROFILE_1,
+ ENABLE_SHARPNESS_PROFILE_COUNT,
+ };
+#endif
+
+#ifndef KERNEL_RADIUS_DEFINED
+#define KERNEL_RADIUS_DEFINED
+ enum KERNEL_RADIUS
+ {
+ KERNEL_RADIUS_2,
+ KERNEL_RADIUS_4,
+ KERNEL_RADIUS_COUNT,
+ };
+#endif
+
+};
+
+struct BlurY_PS
+{
+ void Create(DevicePointer Device);
+ void Release(DevicePointer Device);
+ GLSLPrograms::BlurY_PS& Get(ShaderPermutations::ENABLE_SHARPNESS_PROFILE A, ShaderPermutations::KERNEL_RADIUS B)
+ {
+ return m_Shader[A][B];
+ }
+
+private:
+ GLSLPrograms::BlurY_PS m_Shader[ShaderPermutations::ENABLE_SHARPNESS_PROFILE_COUNT][ShaderPermutations::KERNEL_RADIUS_COUNT];
+#if _WIN32
+ static_assert(ShaderPermutations::ENABLE_SHARPNESS_PROFILE_COUNT == 2, "");
+ static_assert(ShaderPermutations::KERNEL_RADIUS_COUNT == 2, "");
+#endif
+};
+
+};