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.spv.1.6.discard.frag
1
void foo(float f)
2
{
3
if (f < 1.0)
4
discard;
5
}
6
7
void PixelShaderFunction(float4 input) : COLOR0
8
{
9
foo(input.z);
10
if (input.x)
11
discard;
12
float f = input.x;
13
discard;
14
}