Skip to content

Commit

Permalink
Fix more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
per-mathisen-arm committed Nov 6, 2024
1 parent b890ff3 commit 8b96d9b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Missing Vulkan call implementations:

Missing and desirable extension support:
* VK_EXT_mutable_descriptor_type
* VK_EXT_device_generated_commands
* VK_KHR_pipeline_binary

Replayer:
* Preloading
Expand Down
1 change: 1 addition & 0 deletions scripts/struct.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
'VkMemoryMapPlacedInfoEXT',
'VkBindMemoryStatusKHR',
'VkRenderingInputAttachmentIndexInfoKHR',
'VkIndirectCommandsLayoutCreateInfoEXT', 'VkIndirectExecutionSetCreateInfoEXT', 'VkIndirectCommandsLayoutTokenEXT', # TBD
]

hardcoded_read = [ 'VkAccelerationStructureBuildGeometryInfoKHR' ]
Expand Down
1 change: 1 addition & 0 deletions scripts/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
'vkGetDeviceFaultInfoEXT', # we never want to trace this, but rather inject it during tracing if device loss happens, print the info, then abort
'vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT', 'vkCmdPushDescriptorSetWithTemplate2KHR', 'vkCmdSetRenderingInputAttachmentIndicesKHR',
'vkGetEncodedVideoSessionParametersKHR',
'vkCreatePipelineBinariesKHR', 'vkCreateIndirectCommandsLayoutEXT', 'vkCreateIndirectExecutionSetEXT', 'vkGetPipelineBinaryDataKHR', # TBD
]
struct_noop = []

Expand Down
3 changes: 3 additions & 0 deletions src/hardcode_read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ static uint64_t object_lookup(VkObjectType type, uint32_t index)
case VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV:
case VK_OBJECT_TYPE_CU_FUNCTION_NVX:
case VK_OBJECT_TYPE_CU_MODULE_NVX:
case VK_OBJECT_TYPE_PIPELINE_BINARY_KHR:
case VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT:
case VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT:
case VK_OBJECT_TYPE_UNKNOWN:
case VK_OBJECT_TYPE_MAX_ENUM: assert(false); return 0;
}
Expand Down
3 changes: 3 additions & 0 deletions src/hardcode_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ static trackable* object_trackable(const trace_records& r, VkObjectType type, ui
case VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA:
case VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV:
case VK_OBJECT_TYPE_UNKNOWN:
case VK_OBJECT_TYPE_PIPELINE_BINARY_KHR:
case VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT:
case VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT:
case VK_OBJECT_TYPE_MAX_ENUM: assert(false); return nullptr;
}
return nullptr;
Expand Down

0 comments on commit 8b96d9b

Please sign in to comment.