summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-08-25 03:22:41 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-08-25 03:22:41 +0200
commit4d535799eb8ae2b4c0f6acd13e84f914e55769a0 (patch)
tree779be2e39890eabd2f667b6d0107c5daebb6f95f /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #6878 from BreadFish64/optimize-GetHostThreadID (diff)
downloadyuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar.gz
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar.bz2
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar.lz
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar.xz
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.tar.zst
yuzu-4d535799eb8ae2b4c0f6acd13e84f914e55769a0.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index c19f40746..234d74129 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -139,11 +139,16 @@ public:
return is_optimal_astc_supported;
}
- /// Returns true if the device supports float16 natively
+ /// Returns true if the device supports float16 natively.
bool IsFloat16Supported() const {
return is_float16_supported;
}
+ /// Returns true if the device supports int8 natively.
+ bool IsInt8Supported() const {
+ return is_int8_supported;
+ }
+
/// Returns true if the device warp size can potentially be bigger than guest's warp size.
bool IsWarpSizePotentiallyBiggerThanGuest() const {
return is_warp_potentially_bigger;
@@ -367,7 +372,8 @@ private:
u64 device_access_memory{}; ///< Total size of device local memory in bytes.
u32 max_push_descriptors{}; ///< Maximum number of push descriptors
bool is_optimal_astc_supported{}; ///< Support for native ASTC.
- bool is_float16_supported{}; ///< Support for float16 arithmetics.
+ bool is_float16_supported{}; ///< Support for float16 arithmetic.
+ bool is_int8_supported{}; ///< Support for int8 arithmetic.
bool is_warp_potentially_bigger{}; ///< Host warp size can be bigger than guest.
bool is_formatless_image_load_supported{}; ///< Support for shader image read without format.
bool is_depth_bounds_supported{}; ///< Support for depth bounds.