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