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dS )
a,  OpenGL extension NV.shader_atomic_float64

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

Overview (from the spec)
	
	This extension provides GLSL built-in functions and assembly opcodes
	allowing shaders to perform atomic read-modify-write operations to buffer
	or shared memory with double-precision floating-point components.  The set
	of atomic operations provided by this extension is limited to adds and
	exchanges. Providing atomic add support allows shaders to atomically
	accumulate the sum of double-precision floating-point values into buffer
	memory across multiple (possibly concurrent) shader invocations.
	
	This extension provides GLSL support for atomics targeting double-precision
	floating-point pointers (if NV_gpu_shader5 is supported).
	Additionally, assembly opcodes for these operations are also provided if
	NV_gpu_program5 is supported.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/shader_atomic_float64.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/NV/shader_atomic_float64.pyÚglInitShaderAtomicFloat64NV    s    r   )Ú__doc__r   r   r   r   r   r   ÚctypesZOpenGL.raw.GLr   r   Z&OpenGL.raw.GL.NV.shader_atomic_float64r
   r   r   r   r   r   Ú<module>   s   