shader: Ignore global memory ops on devices lacking int64 support
This commit is contained in:
parent
55233c2861
commit
11f04f1022
8 changed files with 79 additions and 30 deletions
|
@ -830,7 +830,7 @@ void EmitContext::DefineAttributeMemAccess(const Info& info) {
|
|||
}
|
||||
|
||||
void EmitContext::DefineGlobalMemoryFunctions(const Info& info) {
|
||||
if (!info.uses_global_memory) {
|
||||
if (!info.uses_global_memory || !profile.support_int64) {
|
||||
return;
|
||||
}
|
||||
using DefPtr = Id StorageDefinitions::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue