mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 10:50:05 +00:00
Transform matrix to mat identifier for Vulkan
This commit is contained in:
+2
-2
@@ -405,8 +405,8 @@ def parse_structs(f):
|
|||||||
if "Flag_Bits" in type_:
|
if "Flag_Bits" in type_:
|
||||||
comment = " // only single bit set"
|
comment = " // only single bit set"
|
||||||
t = do_type(type_, prev_name, fname)
|
t = do_type(type_, prev_name, fname)
|
||||||
if t == "Structure_Type" and n == "type":
|
if n == "matrix":
|
||||||
n = "s_type"
|
n = "mat"
|
||||||
|
|
||||||
ffields.append(tuple([n, t, comment]))
|
ffields.append(tuple([n, t, comment]))
|
||||||
prev_name = fname
|
prev_name = fname
|
||||||
|
|||||||
Vendored
-2
@@ -3,8 +3,6 @@
|
|||||||
//
|
//
|
||||||
package vulkan
|
package vulkan
|
||||||
|
|
||||||
import "core:c"
|
|
||||||
|
|
||||||
// Enums
|
// Enums
|
||||||
AccelerationStructureBuildTypeKHR :: enum c.int {
|
AccelerationStructureBuildTypeKHR :: enum c.int {
|
||||||
HOST = 0,
|
HOST = 0,
|
||||||
|
|||||||
Vendored
-2
@@ -3,8 +3,6 @@
|
|||||||
//
|
//
|
||||||
package vulkan
|
package vulkan
|
||||||
|
|
||||||
import "core:c"
|
|
||||||
|
|
||||||
// Procedure Types
|
// Procedure Types
|
||||||
|
|
||||||
ProcAllocationFunction :: #type proc "system" (pUserData: rawptr, size: int, alignment: int, allocationScope: SystemAllocationScope) -> rawptr
|
ProcAllocationFunction :: #type proc "system" (pUserData: rawptr, size: int, alignment: int, allocationScope: SystemAllocationScope) -> rawptr
|
||||||
|
|||||||
Vendored
+1
-3
@@ -3,8 +3,6 @@
|
|||||||
//
|
//
|
||||||
package vulkan
|
package vulkan
|
||||||
|
|
||||||
import "core:c"
|
|
||||||
|
|
||||||
when ODIN_OS == "windows" {
|
when ODIN_OS == "windows" {
|
||||||
import win32 "core:sys/windows"
|
import win32 "core:sys/windows"
|
||||||
|
|
||||||
@@ -3750,7 +3748,7 @@ PhysicalDeviceRayTracingPropertiesNV :: struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TransformMatrixKHR :: struct {
|
TransformMatrixKHR :: struct {
|
||||||
matrix: [3][4]f32,
|
mat: [3][4]f32,
|
||||||
}
|
}
|
||||||
|
|
||||||
AabbPositionsKHR :: struct {
|
AabbPositionsKHR :: struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user