summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-31 11:24:00 +0200
committerwwylele <wwylele@gmail.com>2017-08-31 11:54:17 +0200
commite2c41a589198ff3162da8047a4c33162b02b0f2b (patch)
tree7d7f07dcf78c735fc6acb228a9a0d4b095f5864f /src/video_core/renderer_opengl
parentMerge pull request #2891 from wwylele/sw-bump (diff)
downloadyuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar.gz
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar.bz2
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar.lz
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar.xz
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.tar.zst
yuzu-e2c41a589198ff3162da8047a4c33162b02b0f2b.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index 3f390491a..c8fc7a0ff 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp
@@ -8,6 +8,7 @@
#include "common/assert.h"
#include "common/bit_field.h"
#include "common/logging/log.h"
+#include "core/core.h"
#include "video_core/regs_framebuffer.h"
#include "video_core/regs_lighting.h"
#include "video_core/regs_rasterizer.h"
@@ -1155,6 +1156,11 @@ vec4 secondary_fragment_color = vec4(0.0);
// Blend the fog
out += "last_tex_env_out.rgb = mix(fog_color.rgb, last_tex_env_out.rgb, fog_factor);\n";
+ } else if (state.fog_mode == TexturingRegs::FogMode::Gas) {
+ Core::Telemetry().AddField(Telemetry::FieldType::Session, "VideoCore_Pica_UseGasMode",
+ true);
+ LOG_CRITICAL(Render_OpenGL, "Unimplemented gas mode");
+ UNIMPLEMENTED();
}
out += "gl_FragDepth = depth;\n";