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