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 #2891 from dneto0/hlsl-namespace
[platform/upstream/glslang.git]
/
Test
/
hlsl.clipdistance-8.frag
1
struct VS_OUTPUT {
2
float4 Position : SV_Position;
3
float3 clip0 : SV_ClipDistance0; // multiple semantic IDs, vec3+float (pack)
4
float clip1 : SV_ClipDistance1; // ...
5
};
6
7
float4 main(VS_OUTPUT v) : SV_Target0
8
{
9
return v.Position + v.clip0.x + v.clip1;
10
}