aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReio Piller <reio@heathmont.net>2025-02-26 23:19:53 +0200
committerReio Piller <reio@heathmont.net>2025-02-26 23:19:53 +0200
commit942f990e505876ef52db8928c960e0fbddf0a87e (patch)
tree44e492f57ecbc1a6b346e3d0893d3cd1ea75939e
parent5a0a8e9026532fb8a6532ba6a9e65ef43cdc0cc0 (diff)
bit_field type fix
-rw-r--r--vendor/vulkan/_gen/create_vulkan_odin_wrapper.py4
-rw-r--r--vendor/vulkan/structs.odin14
2 files changed, 9 insertions, 9 deletions
diff --git a/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py b/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py
index 758f3105a..d18cba071 100644
--- a/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py
+++ b/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py
@@ -647,8 +647,8 @@ def parse_structs(f):
if not bitfield:
bitfield = Bitfield(field_type)
- # Add the field to the bitfield
- bitfield.add_field(bf_field[1], 'bool' if bitsize == 1 else field_type, bitsize)
+ # Add the field to the bitfield
+ bitfield.add_field(bf_field[1], field_type, bitsize)
continue
# Close the bitfield because this is not a field
diff --git a/vendor/vulkan/structs.odin b/vendor/vulkan/structs.odin
index 4bf5b218b..70d39aa12 100644
--- a/vendor/vulkan/structs.odin
+++ b/vendor/vulkan/structs.odin
@@ -10013,13 +10013,13 @@ VideoH265SubLayerHrdParameters :: struct {
}
VideoH265HrdFlags :: bit_field u32 {
- nal_hrd_parameters_present_flag: bool | 1,
- vcl_hrd_parameters_present_flag: bool | 1,
- sub_pic_hrd_params_present_flag: bool | 1,
- sub_pic_cpb_params_in_pic_timing_sei_flag: bool | 1,
- fixed_pic_rate_general_flag: u32 | 8,
- fixed_pic_rate_within_cvs_flag: u32 | 8,
- low_delay_hrd_flag: u32 | 8,
+ nal_hrd_parameters_present_flag: u32 | 1,
+ vcl_hrd_parameters_present_flag: u32 | 1,
+ sub_pic_hrd_params_present_flag: u32 | 1,
+ sub_pic_cpb_params_in_pic_timing_sei_flag: u32 | 1,
+ fixed_pic_rate_general_flag: u32 | 8,
+ fixed_pic_rate_within_cvs_flag: u32 | 8,
+ low_delay_hrd_flag: u32 | 8,
}
VideoH265HrdParameters :: struct {