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.load.rwbuffer.dx10.frag
blob
accd5f0c1ef42362c6673704254181add6202125
1
2
RWBuffer <float4> g_tBuffF;
3
RWBuffer <int4> g_tBuffI;
4
RWBuffer <uint4> g_tBuffU;
5
6
struct PS_OUTPUT
7
{
8
float4 Color : SV_Target0;
9
};
10
11
uniform int c1;
12
uniform int2 c2;
13
uniform int3 c3;
14
uniform int4 c4;
15
16
uniform int o1;
17
uniform int2 o2;
18
uniform int3 o3;
19
uniform int4 o4;
20
21
PS_OUTPUT main()
22
{
23
PS_OUTPUT psout;
24
25
g_tBuffF.Load(c1);
26
g_tBuffU.Load(c1);
27
g_tBuffI.Load(c1);
28
29
psout.Color = 1.0;
30
31
return psout;
32
}