Sign in
dawn
/
dawn
/
07b59ca230534984aab204badcc4507ead7ec2c9
/
.
/
test
/
bug
/
tint
/
294.wgsl
blob: 8a0f450ab3b70e7349316c7f2a8f054966bc6a12 [
file
] [
log
] [
blame
]
struct
Light
{
position
:
vec3
<f32>
;
colour
:
vec3
<f32>
;
};
[[
block
]]
struct
Lights
{
light
:
[[
stride
(
32
)]]
array
<
Light
>;
};
[[
set
(
0
),
binding
(
1
)]]
var
<
storage
,
read
>
lights
:
Lights
;