diff options
author | chirsz-ever <chirsz@foxmail.com> | 2022-01-05 12:45:21 +0300 |
---|---|---|
committer | chirsz-ever <chirsz@foxmail.com> | 2022-01-05 12:45:21 +0300 |
commit | 90c252274d4929506f54a112b6f29514fe79f2fd (patch) | |
tree | 275e92c37741cc0f4fce99564a4e1dcd7a5cc7eb /spirv_msl.cpp | |
parent | e9cc6403341baf0edd430a4027b074d0a06b782f (diff) |
MSL: Allow copy array from UniformConstant storage
Diffstat (limited to 'spirv_msl.cpp')
-rw-r--r-- | spirv_msl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spirv_msl.cpp b/spirv_msl.cpp index ffa69bfe..49d988d7 100644 --- a/spirv_msl.cpp +++ b/spirv_msl.cpp @@ -8671,7 +8671,7 @@ void CompilerMSL::emit_array_copy(const string &lhs, uint32_t lhs_id, uint32_t r { is_constant = true; } - else if (rhs_storage == StorageClassUniform) + else if (rhs_storage == StorageClassUniform || rhs_storage == StorageClassUniformConstant) { is_constant = true; } |