GPUDevice: Remove unused file

This commit is contained in:
Stenzek 2024-04-11 21:30:03 +10:00
parent 88270771da
commit 509a8a074c
No known key found for this signature in database
6 changed files with 13 additions and 20 deletions

View file

@ -6,7 +6,6 @@
#include "types.h" #include "types.h"
#include "util/audio_stream.h" #include "util/audio_stream.h"
#include "util/gpu_types.h"
#include "common/log.h" #include "common/log.h"
#include "common/settings_interface.h" #include "common/settings_interface.h"
@ -19,6 +18,8 @@
#include <string_view> #include <string_view>
#include <vector> #include <vector>
enum class RenderAPI : u32;
struct SettingInfo struct SettingInfo
{ {
enum class Type enum class Type

View file

@ -28,7 +28,6 @@ add_library(util
gpu_shader_cache.h gpu_shader_cache.h
gpu_texture.cpp gpu_texture.cpp
gpu_texture.h gpu_texture.h
gpu_types.h
host.cpp host.cpp
host.h host.h
http_downloader.cpp http_downloader.cpp

View file

@ -5,7 +5,6 @@
#include "gpu_shader_cache.h" #include "gpu_shader_cache.h"
#include "gpu_texture.h" #include "gpu_texture.h"
#include "gpu_types.h"
#include "window_info.h" #include "window_info.h"
#include "common/bitfield.h" #include "common/bitfield.h"
@ -26,6 +25,17 @@
class Error; class Error;
enum class RenderAPI : u32
{
None,
D3D11,
D3D12,
Vulkan,
OpenGL,
OpenGLES,
Metal
};
class GPUSampler class GPUSampler
{ {
public: public:

View file

@ -1,15 +0,0 @@
// SPDX-FileCopyrightText: 2019-2024 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once
enum class RenderAPI : u32
{
None,
D3D11,
D3D12,
Vulkan,
OpenGL,
OpenGLES,
Metal
};

View file

@ -2,7 +2,6 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\dep\msvc\vsprops\Configurations.props" /> <Import Project="..\..\dep\msvc\vsprops\Configurations.props" />
<ItemGroup> <ItemGroup>
<ClInclude Include="gpu_types.h" />
<ClInclude Include="image.h" /> <ClInclude Include="image.h" />
<ClInclude Include="imgui_animated.h" /> <ClInclude Include="imgui_animated.h" />
<ClInclude Include="audio_stream.h" /> <ClInclude Include="audio_stream.h" />

View file

@ -71,7 +71,6 @@
<ClInclude Include="opengl_context_egl_wayland.h" /> <ClInclude Include="opengl_context_egl_wayland.h" />
<ClInclude Include="opengl_context_egl_x11.h" /> <ClInclude Include="opengl_context_egl_x11.h" />
<ClInclude Include="opengl_context_wgl.h" /> <ClInclude Include="opengl_context_wgl.h" />
<ClInclude Include="gpu_types.h" />
<ClInclude Include="image.h" /> <ClInclude Include="image.h" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>