Commit 5931cc3e authored by Buella, Gabor's avatar Buella, Gabor Committed by gbsbuild

add SPIRV builtin OpConvertUToF_f32_i1

Change-Id: I7dfa1d44f9a714c253dddebde6352b21fd2973e3
parent 301ad956
......@@ -341,6 +341,10 @@ half __builtin_spirv_OpConvertUToF_f16_i8(uchar UnsignedValue)
{
return UnsignedValue;
}
float __builtin_spirv_OpConvertUToF_f32_i1(bool BoolValue)
{
return BoolValue ? 1.0 : 0.0;
}
float __builtin_spirv_OpConvertUToF_f32_i8(uchar UnsignedValue)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment