File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/EasyMetalShader/Models Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import MetalKit
10
10
11
11
public protocol EMArgumentCompatible { }
12
12
extension Bool : EMArgumentCompatible { }
13
- extension Int : EMArgumentCompatible { }
13
+ extension Int32 : EMArgumentCompatible { }
14
14
extension Float : EMArgumentCompatible { }
15
15
extension em_int2 : EMArgumentCompatible { }
16
16
extension em_int3 : EMArgumentCompatible { }
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ public enum EMMetalArgument {
25
25
switch objTypeString {
26
26
case " Swift.Bool " :
27
27
return ( obj as? EMArgument < Bool > ) ? . initialValue
28
- case " Swift.Int " :
29
- return ( obj as? EMArgument < Int > ) ? . initialValue
28
+ case " Swift.Int32 " :
29
+ return ( obj as? EMArgument < Int32 > ) ? . initialValue
30
30
case " EasyMetalShader.em_int2 " :
31
31
return ( obj as? EMArgument < em_int2 > ) ? . initialValue
32
32
case " EasyMetalShader.em_int3 " :
You can’t perform that action at this time.
0 commit comments