summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_gen.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-05-05 14:25:04 +0200
committerwwylele <wwylele@gmail.com>2017-05-20 12:50:50 +0200
commit4d62e75fb2438fea3e9199db1641a7fe2848222a (patch)
tree090803248fcbd501526c8a8ce802b6f847eee9a7 /src/video_core/renderer_opengl/gl_shader_gen.h
parentpica/swrasterizer: implement procedural texture (diff)
downloadyuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar.gz
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar.bz2
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar.lz
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar.xz
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.tar.zst
yuzu-4d62e75fb2438fea3e9199db1641a7fe2848222a.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.h b/src/video_core/renderer_opengl/gl_shader_gen.h
index 3fb046b76..ea6d216d1 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.h
+++ b/src/video_core/renderer_opengl/gl_shader_gen.h
@@ -113,6 +113,19 @@ union PicaShaderConfig {
} lut_d0, lut_d1, lut_fr, lut_rr, lut_rg, lut_rb;
} lighting;
+ struct {
+ bool enable;
+ u32 coord;
+ Pica::TexturingRegs::ProcTexClamp u_clamp, v_clamp;
+ Pica::TexturingRegs::ProcTexCombiner color_combiner, alpha_combiner;
+ bool separate_alpha;
+ bool noise_enable;
+ Pica::TexturingRegs::ProcTexShift u_shift, v_shift;
+ u32 lut_width;
+ u32 lut_offset;
+ Pica::TexturingRegs::ProcTexFilter lut_filter;
+ } proctex;
+
} state;
};
#if (__GNUC__ >= 5) || defined(__clang__) || defined(_MSC_VER)