Commit 42fd159c by Antonio Maiorano

Rename Vulkan-source .h to .hpp

Also: * Replace angle-brackets around including VulkanPlatform.hpp with double-quotes. * Remove unused Reactor/SubmoduleCheck/gtest/gtest.h Bug: b/144825072 Change-Id: I2b68e7861355b30f93f23983e2cb97743a1bdf25 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44389Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
parent 587fbb9e
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include "Memset.hpp" #include "Memset.hpp"
#include "RoutineCache.hpp" #include "RoutineCache.hpp"
#include "Reactor/Reactor.hpp" #include "Reactor/Reactor.hpp"
#include "Vulkan/VkFormat.h" #include "Vulkan/VkFormat.hpp"
#include "marl/mutex.h" #include "marl/mutex.h"
#include "marl/tsa.h" #include "marl/tsa.h"
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#include "Memset.hpp" #include "Memset.hpp"
#include "Stream.hpp" #include "Stream.hpp"
#include "System/Types.hpp" #include "System/Types.hpp"
#include "Vulkan/VkConfig.h" #include "Vulkan/VkConfig.hpp"
#include "Vulkan/VkDescriptorSet.hpp" #include "Vulkan/VkDescriptorSet.hpp"
namespace vk { namespace vk {
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "System/Math.hpp" #include "System/Math.hpp"
#include "System/Memory.hpp" #include "System/Memory.hpp"
#include "System/Timer.hpp" #include "System/Timer.hpp"
#include "Vulkan/VkConfig.h" #include "Vulkan/VkConfig.hpp"
#include "Vulkan/VkDevice.hpp" #include "Vulkan/VkDevice.hpp"
#include "Vulkan/VkFence.hpp" #include "Vulkan/VkFence.hpp"
#include "Vulkan/VkImageView.hpp" #include "Vulkan/VkImageView.hpp"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "Device/Config.hpp" #include "Device/Config.hpp"
#include "System/Types.hpp" #include "System/Types.hpp"
#include "Vulkan/VkFormat.h" #include "Vulkan/VkFormat.hpp"
namespace vk { namespace vk {
class Image; class Image;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef sw_Stream_hpp #ifndef sw_Stream_hpp
#define sw_Stream_hpp #define sw_Stream_hpp
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
namespace sw { namespace sw {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "System/Math.hpp" #include "System/Math.hpp"
#include "System/Types.hpp" #include "System/Types.hpp"
#include "Vulkan/VkConfig.h" #include "Vulkan/VkConfig.hpp"
namespace sw { namespace sw {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#include "System/Debug.hpp" #include "System/Debug.hpp"
#include "System/Math.hpp" #include "System/Math.hpp"
#include "System/Types.hpp" #include "System/Types.hpp"
#include "Vulkan/VkConfig.h" #include "Vulkan/VkConfig.hpp"
#include "Vulkan/VkDescriptorSet.hpp" #include "Vulkan/VkDescriptorSet.hpp"
#define SPV_ENABLE_UTILITY_CODE #define SPV_ENABLE_UTILITY_CODE
......
// Copyright 2019 The SwiftShader Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// These are not the headers you're looking for
#error "Missing googletest submodule. Run git submodule update --init"
\ No newline at end of file
...@@ -58,28 +58,28 @@ config("swiftshader_libvulkan_private_config") { ...@@ -58,28 +58,28 @@ config("swiftshader_libvulkan_private_config") {
swiftshader_source_set("swiftshader_libvulkan_headers") { swiftshader_source_set("swiftshader_libvulkan_headers") {
sources = [ sources = [
"Version.h", "Version.hpp",
"VkBuffer.hpp", "VkBuffer.hpp",
"VkBufferView.hpp", "VkBufferView.hpp",
"VkCommandBuffer.hpp", "VkCommandBuffer.hpp",
"VkCommandPool.hpp", "VkCommandPool.hpp",
"VkConfig.h", "VkConfig.hpp",
"VkDescriptorPool.hpp", "VkDescriptorPool.hpp",
"VkDescriptorSet.hpp", "VkDescriptorSet.hpp",
"VkDescriptorSetLayout.hpp", "VkDescriptorSetLayout.hpp",
"VkDescriptorUpdateTemplate.hpp", "VkDescriptorUpdateTemplate.hpp",
"VkDestroy.h", "VkDestroy.hpp",
"VkDevice.hpp", "VkDevice.hpp",
"VkDeviceMemory.hpp", "VkDeviceMemory.hpp",
"VkEvent.hpp", "VkEvent.hpp",
"VkFence.hpp", "VkFence.hpp",
"VkFormat.h", "VkFormat.hpp",
"VkFramebuffer.hpp", "VkFramebuffer.hpp",
"VkGetProcAddress.h", "VkGetProcAddress.hpp",
"VkImage.hpp", "VkImage.hpp",
"VkImageView.hpp", "VkImageView.hpp",
"VkInstance.hpp", "VkInstance.hpp",
"VkMemory.h", "VkMemory.hpp",
"VkObject.hpp", "VkObject.hpp",
"VkPhysicalDevice.hpp", "VkPhysicalDevice.hpp",
"VkPipeline.hpp", "VkPipeline.hpp",
...@@ -93,7 +93,7 @@ swiftshader_source_set("swiftshader_libvulkan_headers") { ...@@ -93,7 +93,7 @@ swiftshader_source_set("swiftshader_libvulkan_headers") {
"VkShaderModule.hpp", "VkShaderModule.hpp",
"VkSpecializationInfo.hpp", "VkSpecializationInfo.hpp",
"VkStringify.hpp", "VkStringify.hpp",
"VulkanPlatform.h", "VulkanPlatform.hpp",
] ]
if (is_linux || is_android) { if (is_linux || is_android) {
sources += [ sources += [
......
...@@ -21,7 +21,7 @@ set(VULKAN_SRC_FILES ...@@ -21,7 +21,7 @@ set(VULKAN_SRC_FILES
libVulkan.cpp libVulkan.cpp
main.cpp main.cpp
resource.h resource.h
Version.h Version.hpp
VkBuffer.cpp VkBuffer.cpp
VkBuffer.hpp VkBuffer.hpp
VkBufferView.cpp VkBufferView.cpp
...@@ -30,7 +30,7 @@ set(VULKAN_SRC_FILES ...@@ -30,7 +30,7 @@ set(VULKAN_SRC_FILES
VkCommandBuffer.hpp VkCommandBuffer.hpp
VkCommandPool.cpp VkCommandPool.cpp
VkCommandPool.hpp VkCommandPool.hpp
VkConfig.h VkConfig.hpp
VkDescriptorPool.cpp VkDescriptorPool.cpp
VkDescriptorPool.hpp VkDescriptorPool.hpp
VkDescriptorSet.hpp VkDescriptorSet.hpp
...@@ -38,7 +38,7 @@ set(VULKAN_SRC_FILES ...@@ -38,7 +38,7 @@ set(VULKAN_SRC_FILES
VkDescriptorSetLayout.hpp VkDescriptorSetLayout.hpp
VkDescriptorUpdateTemplate.cpp VkDescriptorUpdateTemplate.cpp
VkDescriptorUpdateTemplate.hpp VkDescriptorUpdateTemplate.hpp
VkDestroy.h VkDestroy.hpp
VkDevice.cpp VkDevice.cpp
VkDevice.hpp VkDevice.hpp
VkDeviceMemory.cpp VkDeviceMemory.cpp
...@@ -48,11 +48,11 @@ set(VULKAN_SRC_FILES ...@@ -48,11 +48,11 @@ set(VULKAN_SRC_FILES
VkEvent.hpp VkEvent.hpp
VkFence.hpp VkFence.hpp
VkFormat.cpp VkFormat.cpp
VkFormat.h VkFormat.hpp
VkFramebuffer.cpp VkFramebuffer.cpp
VkFramebuffer.hpp VkFramebuffer.hpp
VkGetProcAddress.cpp VkGetProcAddress.cpp
VkGetProcAddress.h VkGetProcAddress.hpp
VkImage.cpp VkImage.cpp
VkImage.hpp VkImage.hpp
VkImageView.cpp VkImageView.cpp
...@@ -60,7 +60,7 @@ set(VULKAN_SRC_FILES ...@@ -60,7 +60,7 @@ set(VULKAN_SRC_FILES
VkInstance.cpp VkInstance.cpp
VkInstance.hpp VkInstance.hpp
VkMemory.cpp VkMemory.cpp
VkMemory.h VkMemory.hpp
VkObject.hpp VkObject.hpp
VkPhysicalDevice.cpp VkPhysicalDevice.cpp
VkPhysicalDevice.hpp VkPhysicalDevice.hpp
...@@ -89,7 +89,7 @@ set(VULKAN_SRC_FILES ...@@ -89,7 +89,7 @@ set(VULKAN_SRC_FILES
VkShaderModule.hpp VkShaderModule.hpp
VkStringify.cpp VkStringify.cpp
VkStringify.hpp VkStringify.hpp
VulkanPlatform.h VulkanPlatform.hpp
) )
if(WIN32) if(WIN32)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include "VkBuffer.hpp" #include "VkBuffer.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDeviceMemory.hpp" #include "VkDeviceMemory.hpp"
#include <cstring> #include <cstring>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkBufferView.hpp" #include "VkBufferView.hpp"
#include "VkBuffer.hpp" #include "VkBuffer.hpp"
#include "VkFormat.h" #include "VkFormat.hpp"
namespace vk { namespace vk {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_BUFFER_VIEW_HPP_ #ifndef VK_BUFFER_VIEW_HPP_
#define VK_BUFFER_VIEW_HPP_ #define VK_BUFFER_VIEW_HPP_
#include "VkFormat.h" #include "VkFormat.hpp"
#include "VkImageView.hpp" #include "VkImageView.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include "VkCommandBuffer.hpp" #include "VkCommandBuffer.hpp"
#include "VkBuffer.hpp" #include "VkBuffer.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDevice.hpp" #include "VkDevice.hpp"
#include "VkEvent.hpp" #include "VkEvent.hpp"
#include "VkFence.hpp" #include "VkFence.hpp"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_COMMAND_BUFFER_HPP_ #ifndef VK_COMMAND_BUFFER_HPP_
#define VK_COMMAND_BUFFER_HPP_ #define VK_COMMAND_BUFFER_HPP_
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDescriptorSet.hpp" #include "VkDescriptorSet.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
#include "Device/Context.hpp" #include "Device/Context.hpp"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkCommandPool.hpp" #include "VkCommandPool.hpp"
#include "VkCommandBuffer.hpp" #include "VkCommandBuffer.hpp"
#include "VkDestroy.h" #include "VkDestroy.hpp"
#include <algorithm> #include <algorithm>
#include <new> #include <new>
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
#ifndef VK_CONFIG_HPP_ #ifndef VK_CONFIG_HPP_
#define VK_CONFIG_HPP_ #define VK_CONFIG_HPP_
#include "Version.h" #include "Version.hpp"
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
namespace vk { namespace vk {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkDevice.hpp" #include "VkDevice.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDescriptorSetLayout.hpp" #include "VkDescriptorSetLayout.hpp"
#include "VkFence.hpp" #include "VkFence.hpp"
#include "VkQueue.hpp" #include "VkQueue.hpp"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include "VkBuffer.hpp" #include "VkBuffer.hpp"
#include "VkImage.hpp" #include "VkImage.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
namespace vk { namespace vk {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_DEVICE_MEMORY_HPP_ #ifndef VK_DEVICE_MEMORY_HPP_
#define VK_DEVICE_MEMORY_HPP_ #define VK_DEVICE_MEMORY_HPP_
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
namespace vk { namespace vk {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "VkFormat.h" #include "VkFormat.hpp"
#include "System/Debug.hpp" #include "System/Debug.hpp"
#include "System/Math.hpp" #include "System/Math.hpp"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "System/Types.hpp" #include "System/Types.hpp"
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
namespace vk { namespace vk {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "VkGetProcAddress.h" #include "VkGetProcAddress.hpp"
#include "VkDevice.hpp" #include "VkDevice.hpp"
#include <string> #include <string>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_UTILS_HPP_ #ifndef VK_UTILS_HPP_
#define VK_UTILS_HPP_ #define VK_UTILS_HPP_
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
namespace vk { namespace vk {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_IMAGE_HPP_ #ifndef VK_IMAGE_HPP_
#define VK_IMAGE_HPP_ #define VK_IMAGE_HPP_
#include "VkFormat.h" #include "VkFormat.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
#ifdef __ANDROID__ #ifdef __ANDROID__
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_IMAGE_VIEW_HPP_ #ifndef VK_IMAGE_VIEW_HPP_
#define VK_IMAGE_VIEW_HPP_ #define VK_IMAGE_VIEW_HPP_
#include "VkFormat.h" #include "VkFormat.hpp"
#include "VkImage.hpp" #include "VkImage.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
#include "VkInstance.hpp" #include "VkInstance.hpp"
#include "VkDestroy.h" #include "VkDestroy.hpp"
namespace vk { namespace vk {
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
#ifndef VK_OBJECT_HPP_ #ifndef VK_OBJECT_HPP_
#define VK_OBJECT_HPP_ #define VK_OBJECT_HPP_
#include "VkMemory.h" #include "VkMemory.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "System/Memory.hpp" #include "System/Memory.hpp"
namespace vk { namespace vk {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_MEMORY_HPP_ #ifndef VK_MEMORY_HPP_
#define VK_MEMORY_HPP_ #define VK_MEMORY_HPP_
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
namespace vk { namespace vk {
......
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
#ifndef VK_OBJECT_HPP_ #ifndef VK_OBJECT_HPP_
#define VK_OBJECT_HPP_ #define VK_OBJECT_HPP_
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkMemory.h" #include "VkMemory.hpp"
#include "System/Debug.hpp" #include "System/Debug.hpp"
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
#include <vulkan/vk_icd.h> #include <vulkan/vk_icd.h>
#include <new> #include <new>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkPhysicalDevice.hpp" #include "VkPhysicalDevice.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "Pipeline/SpirvShader.hpp" // sw::SIMD::Width #include "Pipeline/SpirvShader.hpp" // sw::SIMD::Width
#include "Reactor/Reactor.hpp" #include "Reactor/Reactor.hpp"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_PHYSICAL_DEVICE_HPP_ #ifndef VK_PHYSICAL_DEVICE_HPP_
#define VK_PHYSICAL_DEVICE_HPP_ #define VK_PHYSICAL_DEVICE_HPP_
#include "VkFormat.h" #include "VkFormat.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
#ifdef VK_USE_PLATFORM_ANDROID_KHR #ifdef VK_USE_PLATFORM_ANDROID_KHR
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_PIPELINE_LAYOUT_HPP_ #ifndef VK_PIPELINE_LAYOUT_HPP_
#define VK_PIPELINE_LAYOUT_HPP_ #define VK_PIPELINE_LAYOUT_HPP_
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDescriptorSetLayout.hpp" #include "VkDescriptorSetLayout.hpp"
namespace vk { namespace vk {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// VK_KHR_storage_buffer_storage_class (no functions in this extension) // VK_KHR_storage_buffer_storage_class (no functions in this extension)
// VK_KHR_variable_pointers (no functions in this extension) // VK_KHR_variable_pointers (no functions in this extension)
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
extern "C" { extern "C" {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkSemaphore.hpp" #include "VkSemaphore.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkStringify.hpp" #include "VkStringify.hpp"
#include "marl/blockingcall.h" #include "marl/blockingcall.h"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#ifndef VK_SEMAPHORE_HPP_ #ifndef VK_SEMAPHORE_HPP_
#define VK_SEMAPHORE_HPP_ #define VK_SEMAPHORE_HPP_
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkObject.hpp" #include "VkObject.hpp"
#include "marl/event.h" #include "marl/event.h"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
// Generated from the TEXTINCLUDE 2 resource. // Generated from the TEXTINCLUDE 2 resource.
// //
#include <windows.h> #include <windows.h>
#include "Version.h" #include "Version.hpp"
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS #undef APSTUDIO_READONLY_SYMBOLS
...@@ -36,7 +36,7 @@ END ...@@ -36,7 +36,7 @@ END
2 TEXTINCLUDE 2 TEXTINCLUDE
BEGIN BEGIN
"#include ""afxres.h""\r\n" "#include ""afxres.h""\r\n"
"#include ""Version.h""\0" "#include ""Version.hpp""\0"
END END
3 TEXTINCLUDE 3 TEXTINCLUDE
......
...@@ -16,17 +16,17 @@ ...@@ -16,17 +16,17 @@
#include "VkBufferView.hpp" #include "VkBufferView.hpp"
#include "VkCommandBuffer.hpp" #include "VkCommandBuffer.hpp"
#include "VkCommandPool.hpp" #include "VkCommandPool.hpp"
#include "VkConfig.h" #include "VkConfig.hpp"
#include "VkDescriptorPool.hpp" #include "VkDescriptorPool.hpp"
#include "VkDescriptorSetLayout.hpp" #include "VkDescriptorSetLayout.hpp"
#include "VkDescriptorUpdateTemplate.hpp" #include "VkDescriptorUpdateTemplate.hpp"
#include "VkDestroy.h" #include "VkDestroy.hpp"
#include "VkDevice.hpp" #include "VkDevice.hpp"
#include "VkDeviceMemory.hpp" #include "VkDeviceMemory.hpp"
#include "VkEvent.hpp" #include "VkEvent.hpp"
#include "VkFence.hpp" #include "VkFence.hpp"
#include "VkFramebuffer.hpp" #include "VkFramebuffer.hpp"
#include "VkGetProcAddress.h" #include "VkGetProcAddress.hpp"
#include "VkImage.hpp" #include "VkImage.hpp"
#include "VkImageView.hpp" #include "VkImageView.hpp"
#include "VkInstance.hpp" #include "VkInstance.hpp"
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include "System/Debug.hpp" #include "System/Debug.hpp"
#if defined(VK_USE_PLATFORM_METAL_EXT) || defined(VK_USE_PLATFORM_MACOS_MVK) #if defined(VK_USE_PLATFORM_METAL_EXT) || defined(VK_USE_PLATFORM_MACOS_MVK)
# include "WSI/MetalSurface.h" # include "WSI/MetalSurface.hpp"
#endif #endif
#ifdef VK_USE_PLATFORM_XCB_KHR #ifdef VK_USE_PLATFORM_XCB_KHR
......
...@@ -51,7 +51,7 @@ swiftshader_source_set("WSI") { ...@@ -51,7 +51,7 @@ swiftshader_source_set("WSI") {
if (is_mac) { if (is_mac) {
sources += [ sources += [
"MetalSurface.h", "MetalSurface.hpp",
"MetalSurface.mm", "MetalSurface.mm",
] ]
libs = [ libs = [
......
...@@ -49,7 +49,7 @@ elseif(LINUX) ...@@ -49,7 +49,7 @@ elseif(LINUX)
elseif(APPLE) elseif(APPLE)
list(APPEND WSI_SRC_FILES list(APPEND WSI_SRC_FILES
MetalSurface.mm MetalSurface.mm
MetalSurface.h MetalSurface.hpp
) )
endif() endif()
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "MetalSurface.h" #include "MetalSurface.hpp"
#include "Vulkan/VkDeviceMemory.hpp" #include "Vulkan/VkDeviceMemory.hpp"
#include "Vulkan/VkImage.hpp" #include "Vulkan/VkImage.hpp"
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
#include "VkSurfaceKHR.hpp" #include "VkSurfaceKHR.hpp"
#include "Vulkan/VkDestroy.h" #include "Vulkan/VkDestroy.hpp"
#include <algorithm> #include <algorithm>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include "Vulkan/VkImage.hpp" #include "Vulkan/VkImage.hpp"
#include "Vulkan/VkObject.hpp" #include "Vulkan/VkObject.hpp"
#include <Vulkan/VulkanPlatform.h> #include "Vulkan/VulkanPlatform.hpp"
#include <vector> #include <vector>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment