Sign in
dawn
/
dawn
/
c73d67397624cab512a1bd680370a146a2640a3a
/
.
/
test
/
tint
/
ptr_ref
/
store
/
param
/
workgroup
/
i32_in_struct.wgsl
blob: 3c3209fa86adc0153727bfb36734bd366b00ea13 [
file
] [
log
] [
blame
]
enable chromium_experimental_full_ptr_parameters
;
struct
str
{
i
:
i32
,
};
var
<workgroup>
S
:
str
;
fn func
(
pointer
:
ptr
<
workgroup
,
i32
>)
{
*
pointer
=
42
;
}
@compute
@workgroup_size
(
1
)
fn main
()
{
func
(&
S
.
i
);
}