Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
deqp-deps
/
glslang
/
2de6d657dde37a421ff8afb1bd820d522df5821d
/
.
/
Test
/
hlsl.specConstant.frag
blob: ab2a815ecef8232028abdbb122889cef8b797b66 [
file
] [
log
] [
blame
]
[[
vk
::
constant_id
(
0
)]]
const
uint
index
=
2
;
static
const
uint
array
[]
=
{
10
,
20
,
30
,
40
};
float4 main
(
)
:
SV_TARGET
{
float4 r
;
for
(
uint
i
=
0
;
i
<
array
[
index
];
i
++)
r
=
i
;
r
+=
index
+
index
;
r
+=
2
*
index
;
return
r
;
}