Skip to content

Commit

Permalink
Merge pull request #2545 from hmaarrfk/add_ivec_to
Browse files Browse the repository at this point in the history
Add ivec2, ivec3, ivec4 to ATYPEINFO in glir.py
  • Loading branch information
djhoese committed Oct 31, 2023
2 parents c366456 + 84509e0 commit 5b4731c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vispy/gloo/glir.py
Original file line number Diff line number Diff line change
Expand Up @@ -1045,6 +1045,9 @@ class GlirProgram(GlirObject):
'vec2': (2, gl.GL_FLOAT, np.float32),
'vec3': (3, gl.GL_FLOAT, np.float32),
'vec4': (4, gl.GL_FLOAT, np.float32),
'ivec2': (2, gl.GL_INT, np.int32),
'ivec3': (3, gl.GL_INT, np.int32),
'ivec4': (4, gl.GL_INT, np.int32),
'int': (1, gl.GL_INT, np.int32),
'bool': (1, gl.GL_BOOL, np.int32)
}
Expand Down

0 comments on commit 5b4731c

Please sign in to comment.