87de951105
When the name of an alias global variable collides with a global declaration, MSL would emit inconsistent names, sometimes with the naming fix, sometimes without, because names were being tracked in two separate meta blocks. Fix this by always redirecting parameter naming to the original base variable as necessary.
10 lines
152 B
Plaintext
10 lines
152 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
kernel void main0(uint3 gl_GlobalInvocationID [[thread_position_in_grid]])
|
|
{
|
|
}
|
|
|