projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
hlsl.clipdistance-6.frag
1
struct VS_OUTPUT {
2
float4 Position : SV_Position;
3
float4 clip0 : SV_ClipDistance0; // multiple semantic IDs, two vec4s (no extra packing)
4
float4 clip1 : SV_ClipDistance1; // ...
5
};
6
7
float4 main(VS_OUTPUT v) : SV_Target0
8
{
9
return v.Position + v.clip0 + v.clip1;
10
}