diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-12-24 00:59:49 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-15 21:54:53 +0100 |
commit | 2df55985b691d659073dce2d857d46bc152b4842 (patch) | |
tree | 334b3f81d183b48b81b1be82c8d92d4731bbdb61 /src/video_core/shader/shader_ir.h | |
parent | shader_decode: Implement R2P (diff) | |
download | yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar.gz yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar.bz2 yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar.lz yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar.xz yuzu-2df55985b691d659073dce2d857d46bc152b4842.tar.zst yuzu-2df55985b691d659073dce2d857d46bc152b4842.zip |
Diffstat (limited to 'src/video_core/shader/shader_ir.h')
-rw-r--r-- | src/video_core/shader/shader_ir.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/video_core/shader/shader_ir.h b/src/video_core/shader/shader_ir.h index 928e3e7d5..5ef0a7779 100644 --- a/src/video_core/shader/shader_ir.h +++ b/src/video_core/shader/shader_ir.h @@ -122,6 +122,8 @@ enum class OperationCode { LogicalOr, /// (bool a, bool b) -> bool LogicalXor, /// (bool a, bool b) -> bool LogicalNegate, /// (bool a) -> bool + LogicalAll2, /// (bool2 a) -> bool + LogicalAny2, /// (bool2 a) -> bool LogicalFLessThan, /// (float a, float b) -> bool LogicalFEqual, /// (float a, float b) -> bool @@ -145,12 +147,12 @@ enum class OperationCode { LogicalUNotEqual, /// (uint a, uint b) -> bool LogicalUGreaterEqual, /// (uint a, uint b) -> bool - LogicalHLessThan, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool - LogicalHEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool - LogicalHLessEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool - LogicalHGreaterThan, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool - LogicalHNotEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool - LogicalHGreaterEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool + Logical2HLessThan, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 + Logical2HEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 + Logical2HLessEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 + Logical2HGreaterThan, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 + Logical2HNotEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 + Logical2HGreaterEqual, /// (MetaHalfArithmetic, f16vec2 a, f16vec2) -> bool2 F4Texture, /// (MetaTexture, float[N] coords, float[M] params) -> float4 F4TextureLod, /// (MetaTexture, float[N] coords, float[M] params) -> float4 @@ -263,7 +265,6 @@ struct MetaHalfArithmetic { std::array<Tegra::Shader::HalfType, 3> types = {Tegra::Shader::HalfType::H0_H1, Tegra::Shader::HalfType::H0_H1, Tegra::Shader::HalfType::H0_H1}; - bool and_comparison{}; }; struct MetaTexture { |