shader: Emulate 64-bit integers when not supported
Useful for mobile and Intel Xe devices.
This commit is contained in:
parent
d8d5501459
commit
fb166b5ff4
6 changed files with 16 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue