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 #3031 from rg3igalia/sub-group-size-arb-flat-fix
[platform/upstream/glslang.git]
/
Test
/
hlsl.clipdistance-5.frag
1
struct VS_OUTPUT {
2
float4 Position : SV_Position;
3
float2 ClipRect[2] : SV_ClipDistance0; // array of float2 in split struct
4
};
5
6
float4 main(const VS_OUTPUT v) : SV_Target0
7
{
8
return v.Position + v.ClipRect[0].x + v.ClipRect[1].x;
9
}