diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 09:00:01 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-01 09:00:01 +0200 |
commit | 948bc87a59c576924297ef47b56ac496e4de30a1 (patch) | |
tree | c51efdbd000fc91782270ceb118e0bf2bb552550 /src | |
parent | Merge pull request #1196 from FearlessTobi/ccache-consistency (diff) | |
download | yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar.gz yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar.bz2 yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar.lz yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar.xz yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.tar.zst yuzu-948bc87a59c576924297ef47b56ac496e4de30a1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/engines/shader_bytecode.h | 1 | ||||
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 3e4efbe0c..075b7a730 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -509,6 +509,7 @@ union Instruction { union { BitField<0, 8, Register> gpr0; BitField<28, 8, Register> gpr28; + BitField<49, 1, u64> nodep; BitField<50, 3, u64> component_mask_selector; BitField<53, 4, u64> texture_info; diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 391c92d47..bc6769e7b 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)) { |