loader: fix spelling mistakes
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md
index d695f47..25adf5e 100644
--- a/loader/LoaderAndLayerInterface.md
+++ b/loader/LoaderAndLayerInterface.md
@@ -1168,7 +1168,7 @@
if (result != VK_SUCCESS)
return result;
- // Allocate new structure to store peristent data
+ // Allocate new structure to store persistent data
layer_data *my_data = new layer_data;
// Associate this instance with the newly allocated data
@@ -1227,7 +1227,7 @@
return result;
}
- // Allocate new structure to store peristent data
+ // Allocate new structure to store persistent data
layer_data *my_data = new layer_data;
// Associate this instance with the newly allocated data
diff --git a/loader/vk-loader-generate.py b/loader/vk-loader-generate.py
index 235851c..119442c 100755
--- a/loader/vk-loader-generate.py
+++ b/loader/vk-loader-generate.py
@@ -49,7 +49,7 @@
print(self.generate())
def _requires_special_trampoline_code(self, name):
- # Dont be cute trying to use a general rule to programmatically populate this list
+ # Don't be cute trying to use a general rule to programmatically populate this list
# it just obsfucates what is going on!
wsi_creates_dispatchable_object = ["CreateSwapchainKHR"]
creates_dispatchable_object = ["CreateDevice", "GetDeviceQueue", "AllocateCommandBuffers"] + wsi_creates_dispatchable_object