mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-01 07:01:12 +00:00
34e7ee79bb
Notably, use of 'linear' on a non-input could mark it as an input.
14 lines
219 B
GLSL
14 lines
219 B
GLSL
struct VI {
|
|
float4 m[2];
|
|
uint2 coord;
|
|
linear float4 b;
|
|
};
|
|
|
|
VI main(float4 d, VI vi, float4 e) : SV_POSITION
|
|
{
|
|
VI local;
|
|
|
|
local.b = vi.m[1] + vi.m[0] + float4(vi.coord.x) + d + e;
|
|
|
|
return local;
|
|
} |