repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
hlsl.clipdistance-5.frag
blob
472299948d2ba8a346cd68e1c9d904c8615f09ae
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
}