3b5c4c7316
MSL actually supports empty structs, so enable that path as well.
14 lines
137 B
GLSL
14 lines
137 B
GLSL
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
struct Test
|
|
{
|
|
};
|
|
vertex void main0()
|
|
{
|
|
Test t = Test{ };
|
|
}
|
|
|