Transform matrix to mat identifier for Vulkan

This commit is contained in:
gingerBill committed 2021-10-20 11:42:06 +01:00
1 parent cee45c1b15
commit 07bf64ae52
4 files changed
+3 -9

No files matched your search

+2 -2
View File
@@ -405,8 +405,8 @@ def parse_structs(f):
if "Flag_Bits" in type_:
comment = " // only single bit set"
t = do_type(type_, prev_name, fname)
if t == "Structure_Type" and n == "type":
n = "s_type"
if n == "matrix":
n = "mat"
ffields.append(tuple([n, t, comment]))
prev_name = fname