Merge pull request #10693 from liamwhite/f64-to-f32

shader_recompiler: translate f64 to f32 when unsupported on host
This commit is contained in:
bunnei 2023-06-12 12:46:54 -07:00 committed by GitHub
commit ad8f122ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 198 additions and 0 deletions

View file

@ -232,6 +232,7 @@ ShaderCache::ShaderCache(RasterizerOpenGL& rasterizer_, Core::Frontend::EmuWindo
.gl_max_compute_smem_size = device.GetMaxComputeSharedMemorySize(),
},
host_info{
.support_float64 = true,
.support_float16 = false,
.support_int64 = device.HasShaderInt64(),
.needs_demote_reorder = device.IsAmd(),