Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/vulkan-sdk-1.3.280' into ubunt…
Browse files Browse the repository at this point in the history
…u/jammy-unstable
  • Loading branch information
johnzupin committed Mar 18, 2024
2 parents 342d712 + 1369760 commit 38e1a35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
-D BUILD_WERROR=ON \
-D INSTALL_ICD=ON \
-D BUILD_TESTS=ON \
-D ENABLE_ADDRESS_SANITIZER=ON
-D ENABLE_ADDRESS_SANITIZER=OFF # Re-enable when github CI doesn't have fatal issues
env:
CC: ${{matrix.cc}}
CXX: ${{matrix.cxx}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/vulkaninfo_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ def PrintStructure(struct, types_to_gen):
out += ' }\n'
else: # dynamic array length based on other member
out += f' if (obj.{v.arrayLength} == 0) {{\n'
out += f' p.PrintKeyValue("{v.name}", "NULL");\n'
out += f' p.PrintKeyString("{v.name}", "NULL");\n'
out += ' } else {\n'
out += f' ArrayWrapper arr(p,"{v.name}", obj.{v.arrayLength});\n'
out += f' for (uint32_t i = 0; i < obj.{v.arrayLength}; i++) {{\n'
Expand Down
6 changes: 3 additions & 3 deletions vulkaninfo/generated/vulkaninfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ void DumpVkPhysicalDeviceHostImageCopyPropertiesEXT(Printer &p, std::string name
p.SetMinKeyWidth(35);
p.PrintKeyValue("copySrcLayoutCount", obj.copySrcLayoutCount);
if (obj.copySrcLayoutCount == 0) {
p.PrintKeyValue("pCopySrcLayouts", "NULL");
p.PrintKeyString("pCopySrcLayouts", "NULL");
} else {
ArrayWrapper arr(p,"pCopySrcLayouts", obj.copySrcLayoutCount);
for (uint32_t i = 0; i < obj.copySrcLayoutCount; i++) {
Expand All @@ -2004,7 +2004,7 @@ void DumpVkPhysicalDeviceHostImageCopyPropertiesEXT(Printer &p, std::string name
}
p.PrintKeyValue("copyDstLayoutCount", obj.copyDstLayoutCount);
if (obj.copyDstLayoutCount == 0) {
p.PrintKeyValue("pCopyDstLayouts", "NULL");
p.PrintKeyString("pCopyDstLayouts", "NULL");
} else {
ArrayWrapper arr(p,"pCopyDstLayouts", obj.copyDstLayoutCount);
for (uint32_t i = 0; i < obj.copyDstLayoutCount; i++) {
Expand Down Expand Up @@ -3304,7 +3304,7 @@ void DumpVkSurfacePresentModeCompatibilityEXT(Printer &p, std::string name, cons
p.SetMinKeyWidth(31);
p.PrintKeyValue("presentModeCount", obj.presentModeCount);
if (obj.presentModeCount == 0) {
p.PrintKeyValue("pPresentModes", "NULL");
p.PrintKeyString("pPresentModes", "NULL");
} else {
ArrayWrapper arr(p,"pPresentModes", obj.presentModeCount);
for (uint32_t i = 0; i < obj.presentModeCount; i++) {
Expand Down

0 comments on commit 38e1a35

Please sign in to comment.