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 #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
hlsl.typedef.frag
1
typedef float4 myVec4;
2
3
float4 ShaderFunction(float4 input, int ii) : COLOR0
4
{
5
typedef int myInt;
6
myVec4 a1 = myVec4(1.0);
7
myInt i = 2;
8
typedef myInt myInt2;
9
myInt2 j = ii;
10
return input * a1 + myVec4(i + j);
11
}