Sign in
dawn
/
dawn
/
2320e63eb964badefc9166be1c07d0a516b87e63
/
.
/
test
/
tint
/
extensions
/
texel_fetch
/
additional_params
/
h.wgsl
blob: dc795498bc1453e8bf4bb39c2e2153eb27563837 [
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
)
{}