diff options
| author | 2020-04-16 21:12:33 -0400 | |
|---|---|---|
| committer | 2020-04-16 21:12:33 -0400 | |
| commit | 79c1269f0fd25e8aaf090cd1f4640a52237a3fd3 (patch) | |
| tree | cef3d04b0e14887bbcb6b021d42e2420ae1588a4 /src/video_core/engines | |
| parent | Merge pull request #3600 from ReinUsesLisp/no-pointer-buf-cache (diff) | |
| parent | CMakeLists: Specify -Wextra on linux builds (diff) | |
| download | yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.tar.gz yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.tar.xz yuzu-79c1269f0fd25e8aaf090cd1f4640a52237a3fd3.zip | |
Merge pull request #3673 from lioncash/extra
CMakeLists: Specify -Wextra on linux builds
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/shader_bytecode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index 5e9cfba22..7231597d4 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h | |||
| @@ -1507,7 +1507,7 @@ union Instruction { | |||
| 1507 | 1507 | ||
| 1508 | TextureType GetTextureType() const { | 1508 | TextureType GetTextureType() const { |
| 1509 | // The TLDS instruction has a weird encoding for the texture type. | 1509 | // The TLDS instruction has a weird encoding for the texture type. |
| 1510 | if (texture_info >= 0 && texture_info <= 1) { | 1510 | if (texture_info <= 1) { |
| 1511 | return TextureType::Texture1D; | 1511 | return TextureType::Texture1D; |
| 1512 | } | 1512 | } |
| 1513 | if (texture_info == 2 || texture_info == 8 || texture_info == 12 || | 1513 | if (texture_info == 2 || texture_info == 8 || texture_info == 12 || |