ó
    š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 ARB.shader_clock

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

Overview (from the spec)
        
        This extension exposes a 64-bit monotonically incrementing shader
        counter which may be used to derive local timing information within
        a single shader invocation.
        
        Mapping to SPIR-V
        -----------------
        
        For informational purposes (non-specification), the following is an
        expected way for an implementation to map GLSL constructs to SPIR-V
        constructs:
        
            clock2x32ARB -> OpReadClockKHR with a Scope of Subgroup, Result type of uvec2
            clockARB -> OpReadClockKHR with a Scope of Subgroup, Result type of uitn64_t

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/shader_clock.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    ÚT/home/wildlama/miniconda3/lib/python3.13/site-packages/OpenGL/GL/ARB/shader_clock.pyÚglInitShaderClockARBr   !   s   € å!Ø×$Ò$¤oÓ7Ð7ó    )Ú__doc__r   r   r   r   r   r   ÚctypesÚOpenGL.raw.GLr   r	   ÚOpenGL.raw.GL.ARB.shader_clockr   r   © r   r   Ú<module>r      s&   ðñ÷2 .Ñ -ß &Û ß )Ü ,Ý :ó8r   