Skip to content

Commit

Permalink
Fix typos (#1352)
Browse files Browse the repository at this point in the history
Fix miscellaneous typos, in particular one in trace_layer.cpp that
made VK_EXT_debug_marker extension not available.
  • Loading branch information
marius-pelegrin-arm authored Dec 13, 2023
1 parent 80241d6 commit 9ac344d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion framework/encode/dx12_state_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ void Dx12StateWriter::WriteResourceCreationState(
else if ((resource_info->initial_state & D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE) ==
D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE)
{
// Skip the capture of any ray tracing resource's data. Acceleration structres will be rebuilt from inputs
// Skip the capture of any ray tracing resource's data. Acceleration structures will be rebuilt from inputs
// during replay. See WriteAccelerationStructuresState.
GFXRECON_LOG_DEBUG_ONCE(
"Skipping resource data capture for ray tracing acceleration structure resource(s).");
Expand Down
2 changes: 1 addition & 1 deletion framework/generated/generate_vulkan.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
help='\n'.join(
[
'Path to a directory that holds the Vulkan registry file (vk.xml) used to generate Vulkan source.',
'If this option is not provide the registry from the external Khronos Vulkan headers sub module will be used.'
'If this option is not provided the registry from the external Khronos Vulkan headers sub module will be used.'
]
)
)
Expand Down
2 changes: 1 addition & 1 deletion framework/generated/vulkan_generators/base_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ def make_consumer_func_decl(
return 'void {}()'.format(name)

def make_structure_type_enum(self, typeinfo, typename):
"""Generate the VkStructreType enumeration value for the specified structure type."""
"""Generate the VkStructureType enumeration value for the specified structure type."""
members = typeinfo.elem.findall('.//member')

for member in members:
Expand Down
2 changes: 1 addition & 1 deletion layer/trace_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct LayerExtensionProps

const std::vector<struct LayerExtensionProps> kDeviceExtensionProps = {
{ VkExtensionProperties{ "VK_EXT_tooling_info", 1 }, { "vkGetPhysicalDeviceToolPropertiesEXT" }, {} },
{ VkExtensionProperties{ "VK_EXT_DEBUG_MARKER_EXTENSION_NAME", VK_EXT_DEBUG_MARKER_SPEC_VERSION },
{ VkExtensionProperties{ VK_EXT_DEBUG_MARKER_EXTENSION_NAME, VK_EXT_DEBUG_MARKER_SPEC_VERSION },
{},
{ "vkCmdDebugMarkerBeginEXT",
"vkCmdDebugMarkerEndEXT",
Expand Down

0 comments on commit 9ac344d

Please sign in to comment.