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.structbuffer.byte.frag
blob
2d504da1cfd2074a85a01d71c1aa69e6e252e0a5
1
2
ByteAddressBuffer sbuf;
3
4
float4 main(uint pos : FOO) : SV_Target0
5
{
6
uint size;
7
sbuf.GetDimensions(size);
8
9
return sbuf.Load(pos) +
10
float4(sbuf.Load2(pos+4), 0, 0) +
11
float4(sbuf.Load3(pos+8), 0) +
12
sbuf.Load4(pos+12);
13
}