diff options
| author | 2021-07-11 22:10:38 -0400 | |
|---|---|---|
| committer | 2021-07-22 21:51:40 -0400 | |
| commit | 49946cf780c317b4c5ccabb52ec433eba01c1970 (patch) | |
| tree | 628060b15b133cf3a1aaf716fba3517fc5c983f0 /src/shader_recompiler/backend/glsl | |
| parent | main: Update Shader Cache menu options (diff) | |
| download | yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.gz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.tar.xz yuzu-49946cf780c317b4c5ccabb52ec433eba01c1970.zip | |
shader_recompiler, video_core: Resolve clang errors
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
Diffstat (limited to 'src/shader_recompiler/backend/glsl')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp index b11be5bd7..2edcf592e 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp | |||
| @@ -22,7 +22,7 @@ void Compare(EmitContext& ctx, IR::Inst& inst, std::string_view lhs, std::string | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | bool IsPrecise(const IR::Inst& inst) { | 24 | bool IsPrecise(const IR::Inst& inst) { |
| 25 | return {inst.Flags<IR::FpControl>().no_contraction}; | 25 | return inst.Flags<IR::FpControl>().no_contraction; |
| 26 | } | 26 | } |
| 27 | } // Anonymous namespace | 27 | } // Anonymous namespace |
| 28 | 28 | ||