Merge pull request #1150 from wadetb/master
MSL: Fix array copies to/from interpolators
This commit is contained in:
commit
b32a1b4150
@ -5774,9 +5774,9 @@ void CompilerMSL::emit_array_copy(const string &lhs, uint32_t rhs_id, StorageCla
|
||||
add_spv_func_and_recompile(SPVFuncImplArrayCopy);
|
||||
|
||||
bool lhs_thread =
|
||||
lhs_storage == StorageClassFunction || lhs_storage == StorageClassGeneric || lhs_storage == StorageClassPrivate;
|
||||
lhs_storage == StorageClassOutput || lhs_storage == StorageClassFunction || lhs_storage == StorageClassGeneric || lhs_storage == StorageClassPrivate;
|
||||
bool rhs_thread =
|
||||
rhs_storage == StorageClassFunction || rhs_storage == StorageClassGeneric || rhs_storage == StorageClassPrivate;
|
||||
rhs_storage == StorageClassInput || rhs_storage == StorageClassFunction || rhs_storage == StorageClassGeneric || rhs_storage == StorageClassPrivate;
|
||||
|
||||
const char *tag = nullptr;
|
||||
if (lhs_thread && is_constant)
|
||||
|
Loading…
Reference in New Issue
Block a user