diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-23 01:39:21 -0300 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:39 -0400 |
| commit | fb166b5ff4b42279b2c63c69f5b5a35feafa259e (patch) | |
| tree | 16c302ad248d949b76add9a12be62fe2cbb675e0 /src/video_core/vulkan_common | |
| parent | d8d5501459d6c8b4c39307d293b0f40834dce8f3 (diff) | |
shader: Emulate 64-bit integers when not supported
Useful for mobile and Intel Xe devices.
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 49605752d..40d00a52f 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -164,6 +164,11 @@ public: return is_formatless_image_load_supported; } + /// Returns true if shader int64 is supported. + bool IsShaderInt64Supported() const { + return is_shader_int64_supported; + } + /// Returns true if shader int16 is supported. bool IsShaderInt16Supported() const { return is_shader_int16_supported; |
