Sign in
dawn
/
dawn
/
1e8be0f3009ce42eadbc7d9add497cf0ed543c29
/
.
/
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>
();
}