Skip to content

Commit 1f7ad12

Browse files
Add GL_EXT_shader_realtime_clock (#664)
This extension was added to GLSL but not yet to the OpenGL registry. See: KhronosGroup/GLSL#280 Signed-off-by: Ashley Smith
1 parent a77f5b6 commit 1f7ad12

3 files changed

Lines changed: 91 additions & 0 deletions

File tree

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
Name
2+
3+
EXT_shader_realtime_clock
4+
5+
Name Strings
6+
7+
GL_EXT_shader_realtime_clock
8+
9+
Contact
10+
11+
Ashley Smith, Collabora
12+
13+
Contributors
14+
15+
Ashley Smith, Collabora
16+
17+
and contributors to the EXT_shader_clock spec,
18+
which provided the basis for this spec.
19+
20+
Notice
21+
22+
Copyright (c) 2025 The Khronos Group Inc. Copyright terms at
23+
http://www.khronos.org/registry/speccopyright.html
24+
25+
Status
26+
27+
Draft
28+
29+
Version
30+
31+
Version 0.1, 2025/10/20
32+
33+
Number
34+
35+
OpenGL Extension #???
36+
OpenGL ES Extension #???
37+
38+
Dependencies
39+
40+
This extension is written against Revision 8 of the version 4.40 of the
41+
OpenGL Shading Language Specification, dated June 16, 2014.
42+
43+
This extension requires the EXT_shader_realtime_clock GLSL extension.
44+
45+
This extension requires OpenGL 4.4 or OpenGL ES 3.1.
46+
47+
Overview
48+
49+
This extension enables EXT_shader_realtime_clock. For the complete
50+
overview of this extension, refer to the "Overview" section of
51+
the EXT_shader_realtime_clock GLSL document.
52+
53+
New Procedures and Functions
54+
55+
None.
56+
57+
New Tokens
58+
59+
None.
60+
61+
IP Status
62+
63+
None.
64+
65+
Modifications to the OpenGL Shading Language Specification, Version 4.60
66+
67+
See the separate EXT_shader_realtime_clock GLSL document.
68+
https://github.com/KhronosGroup/GLSL/blob/main/extensions/ext/GL_EXT_shader_realtime_clock.txt
69+
70+
Additions to Chapter 8 of the OpenGL Shading Language Specification
71+
(Built-in Functions)
72+
73+
See the separate EXT_shader_realtime_clock GLSL document.
74+
https://github.com/KhronosGroup/GLSL/blob/main/extensions/ext/GL_EXT_shader_realtime_clock.txt
75+
76+
Issues
77+
78+
Also, please refer to issues in the GLSL extension specification.
79+
80+
Revision History
81+
82+
Rev Date Author Changes
83+
--- ---------- -------------- ------------------------------------------
84+
1 2025/10/20 ashleysmithcol Initial revision based on EXT_shader_clock

‎extensions/esext.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,4 +731,6 @@
731731
li>
732732
<li value=350><a href="extensions/HUAWEI/HUAWEI_shader_binary.txt">GL_HUAWEI_shader_binarya>
733733
li>
734+
<li value=351><a href="extensions/EXT/EXT_shader_realtime_clock.txt">GL_EXT_shader_realtime_clocka>
735+
li>
734736
ol>

‎extensions/registry.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2308,6 +2308,11 @@
23082308
'flags' : { 'public' },
23092309
'url' : 'extensions/EXT/EXT_shader_pixel_local_storage2.txt',
23102310
},
2311+
'GL_EXT_shader_realtime_clock' : {
2312+
'esnumber' : 351,
2313+
'flags' : { 'public' },
2314+
'url' : 'extensions/EXT/EXT_shader_realtime_clock.txt',
2315+
},
23112316
'GL_EXT_shader_samples_identical' : {
23122317
'number' : 557,
23132318
'esnumber' : 339,

0 commit comments

Comments
 (0)