committed by
ameerj
9 changed files with 50 additions and 14 deletions
-
1src/shader_recompiler/CMakeLists.txt
-
8src/shader_recompiler/frontend/maxwell/translate_program.cpp
-
3src/shader_recompiler/frontend/maxwell/translate_program.h
-
18src/shader_recompiler/host_translate_info.h
-
12src/video_core/renderer_opengl/gl_shader_cache.cpp
-
3src/video_core/renderer_opengl/gl_shader_cache.h
-
12src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
-
3src/video_core/renderer_vulkan/vk_pipeline_cache.h
-
4src/video_core/vulkan_common/vulkan_device.cpp
@ -0,0 +1,18 @@ |
|||
// Copyright 2021 yuzu Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
namespace Shader { |
|||
|
|||
// Try to keep entries here to a minimum |
|||
// They can accidentally change the cached information in a shader |
|||
|
|||
/// Misc information about the host |
|||
struct HostTranslateInfo { |
|||
bool support_float16{}; ///< True when the device supports 16-bit floats |
|||
bool support_int64{}; ///< True when the device supports 64-bit integers |
|||
}; |
|||
|
|||
} // namespace Shader |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue