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dS )aÞ  OpenGL extension AMD.gpu_shader_int64

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

Overview (from the spec)
	
	This extension was developed based on the NV_gpu_shader5 extension to
	allow implementations supporting 64-bit integers to expose the feature
	without the additional requirements that are present in NV_gpu_shader5.
	
	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.
	
	This extension is designed to be a functional superset of the 64-bit
	integer support introduced by NV_gpu_shader5 and to be source code
	compatible with that, thus the new procedures, functions, and tokens
	are identical to those found in that extension.
	

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/AMD/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/AMD/gpu_shader_int64.pyÚglInitGpuShaderInt64AMD/   s    r   Úvalue)Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z"OpenGL.raw.GL.AMD.gpu_shader_int64r
   r   ZglUniform1i64vNVZsetInputArraySizeZglUniform2i64vNVZglUniform3i64vNVZglUniform4i64vNVZglUniform1ui64vNVZglUniform2ui64vNVZglUniform3ui64vNVZglUniform4ui64vNVZglProgramUniform1i64vNVZglProgramUniform2i64vNVZglProgramUniform3i64vNVZglProgramUniform4i64vNVZglProgramUniform1ui64vNVZglProgramUniform2ui64vNVZglProgramUniform3ui64vNVZglProgramUniform4ui64vNVr   r   r   r   Ú<module>   sn   '
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ
ÿ