|
|
@ -118,8 +118,8 @@ u32 ShaderIR::DecodeConversion(NodeBlock& bb, u32 pc) {
|
|
|
|
|
|
|
|
|
|
|
|
value = [&]() {
|
|
|
|
value = [&]() {
|
|
|
|
switch (instr.conversion.f2i.rounding) {
|
|
|
|
switch (instr.conversion.f2i.rounding) {
|
|
|
|
case Tegra::Shader::F2iRoundingOp::None:
|
|
|
|
case Tegra::Shader::F2iRoundingOp::RoundEven:
|
|
|
|
return value;
|
|
|
|
return Operation(OperationCode::FRoundEven, PRECISE, value);
|
|
|
|
case Tegra::Shader::F2iRoundingOp::Floor:
|
|
|
|
case Tegra::Shader::F2iRoundingOp::Floor:
|
|
|
|
return Operation(OperationCode::FFloor, PRECISE, value);
|
|
|
|
return Operation(OperationCode::FFloor, PRECISE, value);
|
|
|
|
case Tegra::Shader::F2iRoundingOp::Ceil:
|
|
|
|
case Tegra::Shader::F2iRoundingOp::Ceil:
|
|
|
|