Sign in
dawn
/
dawn
/
9d1b7b42eb282d2ce24e329a8bf41c89fdd67973
/
.
/
test
/
tint
/
extensions
/
texel_fetch
/
additional_params
/
h.wgsl.expected.wgsl
blob: 19f94d54d8a164ef6f057913ba390e1d480b1373 [
file
] [
log
] [
blame
]
enable chromium_experimental_framebuffer_fetch
;
struct
FBF
{
@color
(
1
)
c1
:
vec4f
,
@color
(
3
)
c3
:
vec4i
,
}
@fragment
fn f
(
@invariant
@builtin
(
position
)
pos
:
vec4f
,
fbf
:
FBF
)
{
g
(
fbf
.
c1
.
x
,
pos
.
y
,
fbf
.
c3
.
z
);
}
fn g
(
a
:
f32
,
b
:
f32
,
c
:
i32
)
{
}