mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-25 13:36:45 -05:00
shader: Emulate 64-bit integers when not supported
Useful for mobile and Intel Xe devices.
This commit is contained in:
@@ -154,6 +154,9 @@ IR::Program TranslateProgram(ObjectPool<IR::Inst>& inst_pool, ObjectPool<IR::Blo
|
||||
if (!host_info.support_float16) {
|
||||
Optimization::LowerFp16ToFp32(program);
|
||||
}
|
||||
if (!host_info.support_int64) {
|
||||
Optimization::LowerInt64ToInt32(program);
|
||||
}
|
||||
Optimization::SsaRewritePass(program);
|
||||
|
||||
Optimization::GlobalMemoryToStorageBufferPass(program);
|
||||
|
Reference in New Issue
Block a user