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 #2913 from greg-lunarg/i2905
[platform/upstream/glslang.git]
/
Test
/
hlsl.clipdistance-9.frag
1
2
// Test packing 0 and 1 semantics into single array[4], from in fn params.
3
float4 main(in float4 Position : SV_Position,
4
in float3 clip0 : SV_ClipDistance0,
5
in float clip1 : SV_ClipDistance1) : SV_Target0
6
{
7
return Position + clip0.x + clip1;
8
}