Update vulkan bindings for to work with the new keyword bit_field

This commit is contained in:
gingerBill
2024-02-22 14:09:12 +00:00
parent f3b0b82461
commit b12ba1508e
2 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -565,7 +565,7 @@ def parse_structs(f):
# The second way has many fields that are each 1 bit
elif int(fname) == 1:
bit_field_type = do_type(bit_field[0], prev_name, fname)
ffields.append(tuple(["bit_field", bit_field_type, comment]))
ffields.append(tuple(["bitfield", bit_field_type, comment]))
break
+14 -14
View File
@@ -7032,7 +7032,7 @@ WaylandSurfaceCreateInfoKHR :: struct {
}
VideoH264SpsVuiFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH264HrdParameters :: struct {
@@ -7069,7 +7069,7 @@ VideoH264SequenceParameterSetVui :: struct {
}
VideoH264SpsFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH264ScalingLists :: struct {
@@ -7108,7 +7108,7 @@ VideoH264SequenceParameterSet :: struct {
}
VideoH264PpsFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH264PictureParameterSet :: struct {
@@ -7140,7 +7140,7 @@ VideoH265SubLayerHrdParameters :: struct {
}
VideoH265HrdFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265HrdParameters :: struct {
@@ -7162,11 +7162,11 @@ VideoH265HrdParameters :: struct {
}
VideoH265VpsFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265ProfileTierLevelFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265ProfileTierLevel :: struct {
@@ -7200,7 +7200,7 @@ VideoH265ScalingLists :: struct {
}
VideoH265SpsVuiFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265SequenceParameterSetVui :: struct {
@@ -7237,11 +7237,11 @@ VideoH265PredictorPaletteEntries :: struct {
}
VideoH265SpsFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265ShortTermRefPicSetFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265ShortTermRefPicSet :: struct {
@@ -7309,7 +7309,7 @@ VideoH265SequenceParameterSet :: struct {
}
VideoH265PpsFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoH265PictureParameterSet :: struct {
@@ -7352,7 +7352,7 @@ VideoH265PictureParameterSet :: struct {
}
VideoDecodeH264PictureInfoFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoDecodeH264PictureInfo :: struct {
@@ -7367,7 +7367,7 @@ VideoDecodeH264PictureInfo :: struct {
}
VideoDecodeH264ReferenceInfoFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoDecodeH264ReferenceInfo :: struct {
@@ -7378,7 +7378,7 @@ VideoDecodeH264ReferenceInfo :: struct {
}
VideoDecodeH265PictureInfoFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoDecodeH265PictureInfo :: struct {
@@ -7396,7 +7396,7 @@ VideoDecodeH265PictureInfo :: struct {
}
VideoDecodeH265ReferenceInfoFlags :: struct {
bit_field: u32,
bitfield: u32,
}
VideoDecodeH265ReferenceInfo :: struct {