diff options
| author | 2018-09-02 10:48:27 -0400 | |
|---|---|---|
| committer | 2018-09-02 10:48:27 -0400 | |
| commit | 89be49d2f343aa458aa68d8c440bffa44eecf7a1 (patch) | |
| tree | 93f7aaa91a9e7b38753be03150d7622c32e7ee3a /src/video_core/renderer_opengl | |
| parent | Merge pull request #1219 from jroweboy/less-artifacts (diff) | |
| parent | Added assert for TEXS nodep (diff) | |
| download | yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.gz yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.tar.xz yuzu-89be49d2f343aa458aa68d8c440bffa44eecf7a1.zip | |
Merge pull request #1215 from ogniK5377/texs-nodep-assert
Added assert for TEXS nodep
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 |
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: | |||
| 887 | // TEXS has two destination registers and a swizzle. The first two elements in the swizzle | 887 | // TEXS has two destination registers and a swizzle. The first two elements in the swizzle |
| 888 | // go into gpr0+0 and gpr0+1, and the rest goes into gpr28+0 and gpr28+1 | 888 | // go into gpr0+0 and gpr0+1, and the rest goes into gpr28+0 and gpr28+1 |
| 889 | 889 | ||
| 890 | ASSERT_MSG(instr.texs.nodep == 0, "TEXS nodep not implemented"); | ||
| 891 | |||
| 890 | size_t written_components = 0; | 892 | size_t written_components = 0; |
| 891 | for (u32 component = 0; component < 4; ++component) { | 893 | for (u32 component = 0; component < 4; ++component) { |
| 892 | if (!instr.texs.IsComponentEnabled(component)) { | 894 | if (!instr.texs.IsComponentEnabled(component)) { |