Skip to content

Commit 853db6d

Browse files
authored
Merge pull request #95 from Over-Run/feature
2 parents 2f9ee85 + 0211c02 commit 853db6d

108 files changed

Lines changed: 27040 additions & 358 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

generators/opengl/src/main/kotlin/overrungl/opengl/OpenGLGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import overrungl.gen.file.unsigned_char_boolean
2525
import javax.xml.parsers.DocumentBuilderFactory
2626
import kotlin.io.path.Path
2727

28-
// gl.xml updated: 2025/05/31
28+
// gl.xml updated: 2025/06/29
2929

3030
const val openglPackage = "overrungl.opengl"
3131
fun extPackage(vendor: String): String {

generators/opengl/src/main/resources/gl.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7032,6 +7032,10 @@ typedef unsigned int GLhandleARB;
70327032
<unused start="0x9740" end="0x975F" vendor="MESA"/>
70337033
</enums>
70347034

7035+
<enums namespace="GL" start="0x9760" end="0x976F" vendor="QCOM" comment="Reserved for Ashish Mathur">
7036+
<unused start="0x9760" end="0x976F" vendor="QCOM"/>
7037+
</enums>
7038+
70357039
<!-- Enums reservable for future use. To reserve a new range, allocate one
70367040
or more multiples of 16 starting at the lowest available point in this
70377041
block and note it in a new <enums> block immediately above.
@@ -7041,7 +7045,7 @@ typedef unsigned int GLhandleARB;
70417045
file) File requests in the Khronos Bugzilla, OpenGL project, Registry
70427046
component. -->
70437047

7044-
<enums namespace="GL" start="0x9760" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
7048+
<enums namespace="GL" start="0x9770" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
70457049
<unused start="0x9760" end="99999" comment="RESERVED"/>
70467050
</enums>
70477051

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* MIT License
3+
*
4+
* Copyright (c) 2025 Overrun Organization
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*/
16+
17+
package overrungl.vulkan
18+
19+
data class VkFormat(
20+
val enumName: String,
21+
val enumClass: String,
22+
val blockSize: String,
23+
val texelsPerBlock: String,
24+
val blockExtent: String?,
25+
val packed: String?,
26+
val compressed: String?,
27+
val chroma: String?,
28+
val components: List<VkFormatComponent>?,
29+
val planes: List<VkFormatPlane>?,
30+
val spirvImageFormats: List<VkFormatSpirvImageFormat>?
31+
)
32+
33+
data class VkFormatComponent(
34+
val name: String,
35+
val bits: String,
36+
val numericFormat: String,
37+
val planeIndex: String?
38+
)
39+
40+
data class VkFormatPlane(
41+
val index: String,
42+
val widthDivisor: String,
43+
val heightDivisor: String,
44+
val compatible: String
45+
)
46+
47+
data class VkFormatSpirvImageFormat(
48+
val name: String
49+
)

0 commit comments

Comments
 (0)