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