mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +01:00
internal/shaderir/metal: remove a redundant case
This commit is contained in:
parent
15064dbdc1
commit
5e5e3c64ac
@ -102,9 +102,6 @@ func builtinFuncString(f shaderir.BuiltinFunc) string {
|
|||||||
return "float4x4"
|
return "float4x4"
|
||||||
case shaderir.Inversesqrt:
|
case shaderir.Inversesqrt:
|
||||||
return "rsqrt"
|
return "rsqrt"
|
||||||
case shaderir.Mod:
|
|
||||||
// mod is a special function that Metal doesn't originally has (#2006).
|
|
||||||
return "mod"
|
|
||||||
case shaderir.Texture2DF:
|
case shaderir.Texture2DF:
|
||||||
return "?(texture2D)"
|
return "?(texture2D)"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user