ó
    š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)	a‘  OpenGL extension AMD.gpu_shader_half_float

This module customises the behaviour of the 
OpenGL.raw.GL.AMD.gpu_shader_half_float 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 half float in shader and 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 half float scalar, vector and matrix data types in shader;
        
          * new built-in functions to pack and unpack half float types into a
            32-bit integer vector;
        
          * half float support for all existing single float built-in functions,
            including angle functions, exponential functions, common functions,
            geometric functions, matrix functions and etc.;
        
        This extension is designed to be a functional superset of the half-precision
        floating-point support from NV_gpu_shader5 and to keep 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_half_float.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    Ú]/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/AMD/gpu_shader_half_float.pyÚglInitGpuShaderHalfFloatAMDr   )   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   Ú'OpenGL.raw.GL.AMD.gpu_shader_half_floatr   r   © r   r   Ú<module>r      s'   ðñ ÷B .Ñ -ß &Û ß )Ü 5Ý Có8r   