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-4.frag
1
struct VS_OUTPUT {
2
float4 Position : SV_Position;
3
float4 ClipRect : SV_ClipDistance0; // vector in split struct
4
};
5
6
float4 main(const VS_OUTPUT v) : SV_Target0
7
{
8
return v.Position + v.ClipRect;
9
}