LoopDawg | e2cda3c | 2017-08-23 12:34:42 -0600 | [diff] [blame] | 1 | struct VS_OUTPUT { |
2 | float4 Position : SV_Position; | ||||
3 | float3 clip0 : SV_ClipDistance0; // multiple semantic IDs, vec3+vec4 (skip) | ||||
4 | float4 clip1 : SV_ClipDistance1; // ... | ||||
5 | }; | ||||
6 | |||||
7 | float4 main(VS_OUTPUT v) : SV_Target0 | ||||
8 | { | ||||
9 | return v.Position + v.clip0.x + v.clip1.x; | ||||
10 | } |