Sign in
dawn
/
dawn
/
7e8a128852ffdd6fd5e72ddf74355f3db3ccea49
/
.
/
test
/
tint
/
statements
/
discard
/
non_uniform.wgsl.expected.wgsl
blob: 5d697d4d5965c63233494b398e0e7463eec67131 [
file
] [
log
] [
blame
]
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
non_uniform_global
:
i32
;
@group
(
0
)
@binding
(
1
)
var
<
storage
,
read_write
>
output
:
f32
;
@fragment
fn main
()
{
if
((
non_uniform_global
<
0
))
{
discard
;
}
output
=
dpdx
(
1.0
);
}