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.pp.line.frag
blob
6f0273dcb2d9adb50c9ce0a755d370f904e5574a
1
2
#line 1
3
4
struct PS_OUTPUT
5
{
6
float4 Color : SV_Target0;
7
float Depth : SV_Depth;
8
};
9
10
#line 2
11
12
PS_OUTPUT main()
13
{
14
PS_OUTPUT psout;
15
16
#line 123 "SomeFile.frag"
17
18
int thisLineIs = __LINE__; // gets 124
19
20
psout.Color = float4(thisLineIs, 0, 0, 1);
21
psout.Depth = 1.0;
22
23
return psout;
24
}