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.rw.register.frag
1
2
RWTexture1D <float> g_tTex1df1 : register(u2);
3
RWBuffer <uint> g_tBuf1du1 : register(U3);
4
5
struct PS_OUTPUT
6
{
7
float4 Color : SV_Target0;
8
};
9
10
PS_OUTPUT main()
11
{
12
float r00 = g_tTex1df1[0];
13
uint r01 = g_tBuf1du1[0];
14
15
PS_OUTPUT psout;
16
psout.Color = 1.0;
17
return psout;
18
}