shader: Emulate 64-bit integers when not supported

Useful for mobile and Intel Xe devices.
This commit is contained in:
ReinUsesLisp 2021-06-23 01:39:21 -03:00 committed by ameerj
parent d8d5501459
commit fb166b5ff4
6 changed files with 16 additions and 2 deletions

View file

@ -315,7 +315,7 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw
};
host_info = Shader::HostTranslateInfo{
.support_float16 = device.IsFloat16Supported(),
.support_int64 = true,
.support_int64 = device.IsShaderInt64Supported(),
};
}