aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rw-r--r--src/vulkan/vertex_buffer_test.cc8
2 files changed, 4 insertions, 10 deletions
diff --git a/README.md b/README.md
index 66e9000..4da1cd6 100644
--- a/README.md
+++ b/README.md
@@ -104,9 +104,9 @@ A Vulkan implementation is found by CMake in the following priority order:
that contains the `include` and `lib` directories.
Example: `VULKAN_SDK=$HOME/vulkan-macos-1.1.85.0/macOS`
* `VK_ICD_FILENAMES` should point to the ICD JSON file.
- Example: `VK_ICD_FILENAMES=$VULKAN_SDK/etc/vulkan/icd/MoltenVK_icd.json`
- * `VK_LAYER_PATH` should point to the $VULKAN_SDK/etc/explicit\_layer.d
- folder.
+ Example: `VK_ICD_FILENAMES=$VULKAN_SDK/etc/vulkan/icd.d/MoltenVK_icd.json`
+ * `VK_LAYER_PATH` should point to the
+ $VULKAN_SDK/etc/vulkan/explicit\_layer.d folder.
* `LD_LIBRARY_PATH` must contain the $VULKAN_SDK/lib/ folder for the
validation libraries.
diff --git a/src/vulkan/vertex_buffer_test.cc b/src/vulkan/vertex_buffer_test.cc
index 04112aa..814305c 100644
--- a/src/vulkan/vertex_buffer_test.cc
+++ b/src/vulkan/vertex_buffer_test.cc
@@ -26,12 +26,6 @@ namespace amber {
namespace vulkan {
namespace {
-template <typename T>
-void ExpectBitsEQ(const uint8_t* actual, T expected) {
- const T* ptr = reinterpret_cast<const T*>(actual);
- EXPECT_EQ(*ptr, expected);
-}
-
const VkPhysicalDeviceMemoryProperties kMemoryProperties =
VkPhysicalDeviceMemoryProperties();
@@ -44,7 +38,7 @@ class BufferForTest : public Buffer {
memory_.resize(4096);
memory_ptr_ = memory_.data();
}
- ~BufferForTest() = default;
+ ~BufferForTest() override = default;
void* HostAccessibleMemoryPtr() const override { return memory_ptr_; }