Merge pull request #2109 from FernandoS27/fix-f2i
Corrected F2I None mode to RoundEven.
This commit is contained in:
		| @@ -118,8 +118,8 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) { | ||||
|  | ||||
|         value = [&]() { | ||||
|             switch (instr.conversion.f2i.rounding) { | ||||
|             case Tegra::Shader::F2iRoundingOp::None: | ||||
|                 return value; | ||||
|             case Tegra::Shader::F2iRoundingOp::RoundEven: | ||||
|                 return Operation(OperationCode::FRoundEven, PRECISE, value); | ||||
|             case Tegra::Shader::F2iRoundingOp::Floor: | ||||
|                 return Operation(OperationCode::FFloor, PRECISE, value); | ||||
|             case Tegra::Shader::F2iRoundingOp::Ceil: | ||||
| @@ -146,4 +146,4 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) { | ||||
|     return pc; | ||||
| } | ||||
|  | ||||
| } // namespace VideoCommon::Shader | ||||
| } // namespace VideoCommon::Shader | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bunnei
					bunnei