internal/shaderir/metal: remove a redundant case

This commit is contained in:
Hajime Hoshi 2022-03-09 02:54:31 +09:00
parent 15064dbdc1
commit 5e5e3c64ac

View File

@ -102,9 +102,6 @@ func builtinFuncString(f shaderir.BuiltinFunc) string {
return "float4x4"
case shaderir.Inversesqrt:
return "rsqrt"
case shaderir.Mod:
// mod is a special function that Metal doesn't originally has (#2006).
return "mod"
case shaderir.Texture2DF:
return "?(texture2D)"
}