Sign in
dawn
/
dawn
/
9ae5b84e647c98607c2c25d24ecf1ff0c7429da7
/
.
/
test
/
tint
/
builtins
/
textureStore
/
bgraunorm.wgsl.expected.msl
blob: 1c2a2bf393523b578efc073dbb99744f7a065752 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
fragment
void
fragment_main
(
texture2d
<
float
,
access
::
write
>
tint_symbol
[[
texture
(
0
)]])
{
float4
const
value
=
float4
(
1.0f
,
2.0f
,
3.0f
,
4.0f
);
tint_symbol
.
write
(
value
,
uint2
(
int2
(
9
,
8
)));
return
;
}