Sign in
dawn
/
dawn
/
8be0f9e24b250259fb527015c924f6916956b1e3
/
.
/
test
/
tint
/
builtins
/
textureStore
/
bgraunorm.wgsl
blob: 85ea1650868a57c46b4070b2f30c7597d9a87af5 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
tex
:
texture_storage_2d
<
bgra8unorm
,
write
>;
@vertex
fn vertex_main
()
->
@builtin
(
position
)
vec4
<f32>
{
let
value
=
vec4
(
1f
,
2f
,
3f
,
4f
);
textureStore
(
tex
,
vec2
(
9
,
8
),
value
);
return
vec4
<f32>
();
}