Change enum class to plain enum

This commit is contained in:
baldurk
2016-10-13 19:28:20 +02:00
parent 31d5d48812
commit 033d3ef22c
2 changed files with 13 additions and 14 deletions

View File

@@ -797,7 +797,7 @@ Id Builder::makeFloat16Constant(float f16, bool specConstant)
spvutils::HexFloat<spvutils::FloatProxy<float>> fVal(f16);
spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>> f16Val(0);
fVal.castTo(f16Val, spvutils::round_direction::kToZero);
fVal.castTo(f16Val, spvutils::kRoundToZero);
unsigned value = f16Val.value().getAsFloat().get_value();