ó
    š3jµ  ã                   ó`   • S r SSKJrJrJr  SSKJrJr  SSKrSSKJ	r	J
r
  SSK7  SSKJr  S rg)	aN  OpenGL extension AMD.gpu_shader_int16

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

Overview (from the spec)
        
        This extension was developed to allow implementations supporting 16-bit
        integers to expose the feature in GLSL.
        
        The extension introduces the following features for all shader types:
        
          * new built-in functions to pack and unpack 32-bit integer types into a
            two-component 16-bit integer vector;
        
          * new built-in functions to convert half-precision floating-point
            values to or from their 16-bit integer bit encodings;
        
          * vector relational functions supporting comparisons of vectors of
            16-bit integer types; and
        
          * common functions abs, frexp, ldexp, sign, min, max, clamp, and mix
            supporting arguments of 16-bit integer types.
        

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/AMD/gpu_shader_int16.txt
é    )ÚplatformÚconstantÚarrays)Ú
extensionsÚwrapperN)Ú_typesÚ_glgets)Ú*)Ú_EXTENSION_NAMEc                  ó:   • SSK Jn   U R                  " [        5      $ )z=Return boolean indicating whether this extension is availabler   ©r   )ÚOpenGLr   ÚhasGLExtensionr   r   s    ÚX/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/AMD/gpu_shader_int16.pyÚglInitGpuShaderInt16AMDr   %   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú"OpenGL.raw.GL.AMD.gpu_shader_int16r   r   © r   r   Ú<module>r      s&   ðñ÷: .Ñ -ß &Û ß )Ü 0Ý >ó8r   