a
    i‚jÐ  ã                   @   s¤  d Z ddlmZmZmZ ddlmZmZ ddlZddlm	Z	m
Z
 ddlT ddlmZ dd	„ Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ dd¡Ze e¡ dd¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e¡ d
d¡Ze e ¡ d
d¡Z dS )a  OpenGL extension ARB.gpu_shader_int64

This module customises the behaviour of the 
OpenGL.raw.GL.ARB.gpu_shader_int64 to provide a more 
Python-friendly API

Overview (from the spec)
	
	The extension introduces the following features for all shader types:
	
	  * support for 64-bit scalar and vector integer data types, including
	    uniform API, uniform buffer object, transform feedback, and shader
	    input and output support;
	
	  * new built-in functions to pack and unpack 64-bit integer types into a
	    two-component 32-bit integer vector;
	
	  * new built-in functions to convert double-precision floating-point
	    values to or from their 64-bit integer bit encodings;
	
	  * vector relational functions supporting comparisons of vectors of
	    64-bit integer types; and
	
	  * common functions abs, sign, min, max, clamp, and mix supporting
	    arguments of 64-bit integer types.
	

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/gpu_shader_int64.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  C   s   ddl m}  |  t¡S )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ZhasGLExtensionr
   r   © r   ú\/home/ghrups/robot-bench/.venv/lib/python3.9/site-packages/OpenGL/GL/ARB/gpu_shader_int64.pyÚglInitGpuShaderInt64ARB&   s    r   ÚvalueÚparams)!Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z"OpenGL.raw.GL.ARB.gpu_shader_int64r
   r   ZglUniform1i64vARBZsetInputArraySizeZglUniform2i64vARBZglUniform3i64vARBZglUniform4i64vARBZglUniform1ui64vARBZglUniform2ui64vARBZglUniform3ui64vARBZglUniform4ui64vARBZglGetUniformi64vARBZglGetUniformui64vARBZglProgramUniform1i64vARBZglProgramUniform2i64vARBZglProgramUniform3i64vARBZglProgramUniform4i64vARBZglProgramUniform1ui64vARBZglProgramUniform2ui64vARBZglProgramUniform3ui64vARBZglProgramUniform4ui64vARBr   r   r   r   Ú<module>   sz   
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ