mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 13:40:41 +00:00
cd0a78a0d9
Vulkan can't handle structures into the vertex stage or out of the fragment stage.
9 lines
165 B
GLSL
9 lines
165 B
GLSL
struct VI {
|
|
float4 m[2];
|
|
uint2 coord;
|
|
};
|
|
|
|
float4 main(float4 d, VI vi, float4 e) : SV_POSITION
|
|
{
|
|
return vi.m[1] + vi.m[0] + float4(vi.coord.x) + d + e;
|
|
} |