mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
31 lines
511 B
GLSL
31 lines
511 B
GLSL
#pragma clang diagnostic ignored "-Wmissing-prototypes"
|
|
|
|
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
struct EmptyStructTest
|
|
{
|
|
int empty_struct_member;
|
|
};
|
|
|
|
float GetValue(thread const EmptyStructTest& self)
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
float GetValue_1(thread const EmptyStructTest& self)
|
|
{
|
|
return 0.0;
|
|
}
|
|
|
|
fragment void main0()
|
|
{
|
|
EmptyStructTest _23 = EmptyStructTest{ 0 };
|
|
EmptyStructTest emptyStruct;
|
|
float value = GetValue(emptyStruct);
|
|
value = GetValue_1(_23);
|
|
}
|
|
|