SPIRV-Cross/reference/opt/shaders-msl/comp/access-private-workgroup-in-function.comp
Hans-Kristian Arntzen 314efdcc42 MSL: Fix declaration of unused input variables.
In multiple-entry-point modules, we declared builtin inputs which were
not supposed to be used for that entry point.

Fix this, by being more strict when checking which builtins to emit.
2019-05-31 13:23:34 +02:00

10 lines
97 B
Plaintext

#include <metal_stdlib>
#include <simd/simd.h>
using namespace metal;
kernel void main0()
{
}