Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
6353d55e943542e5cff54b9c374c0155943e4060
/
.
/
Test
/
hlsl.structbuffer.byte.frag
blob: 2d504da1cfd2074a85a01d71c1aa69e6e252e0a5 [
file
] [
log
] [
blame
]
ByteAddressBuffer
sbuf
;
float4 main
(
uint
pos
:
FOO
)
:
SV_Target0
{
uint
size
;
sbuf
.
GetDimensions
(
size
);
return
sbuf
.
Load
(
pos
)
+
float4
(
sbuf
.
Load2
(
pos
+
4
),
0
,
0
)
+
float4
(
sbuf
.
Load3
(
pos
+
8
),
0
)
+
sbuf
.
Load4
(
pos
+
12
);
}