projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
HLSL: Plumb in HLSL parse context and keywords, and most basic HLSL parser and test.
[platform/upstream/glslang.git]
/
Test
/
hlsl.frag
1
//float4x4 World;
\r
2
//float4x4 View;
\r
3
//float4x4 Projection;
\r
4
//
\r
5
//float4 AmbientColor = float4(1, 1, 1, 1);
\r
6
//float AmbientIntensity = 0.1;
\r
7
//
\r
8
//float4 PixelShaderFunction(VertexShaderOutput input) : COLOR0
\r
9
//{
\r
10
// return AmbientColor * AmbientIntensity;
\r
11
//}
\r