mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 03:39:51 +00:00
11 lines
321 B
GLSL
11 lines
321 B
GLSL
|
struct VS_OUTPUT {
|
||
|
float4 Position : SV_Position;
|
||
|
float3 clip0 : SV_ClipDistance0; // multiple semantic IDs, vec3+float (pack)
|
||
|
float clip1 : SV_ClipDistance1; // ...
|
||
|
};
|
||
|
|
||
|
float4 main(VS_OUTPUT v) : SV_Target0
|
||
|
{
|
||
|
return v.Position + v.clip0.x + v.clip1;
|
||
|
}
|