re-re-fixed RelaxedPrecision
Bug: skia: Change-Id: I7c5eb70c49991cb272d31e7dfceeb1a1d58ec4bc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/201381 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com> Auto-Submit: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
This commit is contained in:
parent
e5476bbe75
commit
e77739eec2
@ -1888,7 +1888,7 @@ SpvId SPIRVCodeGenerator::writeBinaryOperation(const Type& resultType,
|
|||||||
} else {
|
} else {
|
||||||
ABORT("invalid operandType: %s", operandType.description().c_str());
|
ABORT("invalid operandType: %s", operandType.description().c_str());
|
||||||
}
|
}
|
||||||
if (resultType == operandType && !resultType.highPrecision()) {
|
if (getActualType(resultType) == operandType && !resultType.highPrecision()) {
|
||||||
this->writeInstruction(SpvOpDecorate, result, SpvDecorationRelaxedPrecision,
|
this->writeInstruction(SpvOpDecorate, result, SpvDecorationRelaxedPrecision,
|
||||||
fDecorationBuffer);
|
fDecorationBuffer);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user