File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ data Types =
42
42
data Type
43
43
= Int
44
44
| Float
45
+ | Bool
45
46
| V2
46
47
| V3
47
48
| V4
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ extractInputs decl =
174
174
GLS. Mat4 -> [(qual, Shader. M4 , name)]
175
175
GLS. Int -> [(qual, Shader. Int , name)]
176
176
GLS. Float -> [(qual, Shader. Float , name)]
177
+ GLS. Bool -> [(qual, Shader. Bool , name)]
177
178
GLS. Sampler2D -> [(qual, Shader. Texture , name)]
178
179
_ -> []
179
180
_ -> []
Original file line number Diff line number Diff line change @@ -502,6 +502,7 @@ glToType glType =
502
502
Shader. M4 -> Type. mat4
503
503
Shader. Int -> Type. int
504
504
Shader. Float -> Type. float
505
+ Shader. Bool -> Type. bool
505
506
Shader. Texture -> Type. texture
506
507
507
508
You can’t perform that action at this time.
0 commit comments