summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-02 16:48:27 +0200
committerGitHub <noreply@github.com>2018-09-02 16:48:27 +0200
commit89be49d2f343aa458aa68d8c440bffa44eecf7a1 (patch)
tree93f7aaa91a9e7b38753be03150d7622c32e7ee3a /src/video_core/renderer_opengl
parentMerge pull request #1219 from jroweboy/less-artifacts (diff)
parentAdded assert for TEXS nodep (diff)
downloadyuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.gz
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.bz2
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.lz
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.xz
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.zst
yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index 274c2854b..c4e7e1e3b 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -887,6 +887,8 @@ private:
// TEXS has two destination registers and a swizzle. The first two elements in the swizzle
// go into gpr0+0 and gpr0+1, and the rest goes into gpr28+0 and gpr28+1
+ ASSERT_MSG(instr.texs.nodep == 0, "TEXS nodep not implemented");
+
size_t written_components = 0;
for (u32 component = 0; component < 4; ++component) {
if (!instr.texs.IsComponentEnabled(component)) {