Sign in
dawn
/
dawn
/
6e93ca5f8bfa3ff68c2b580212f5853ccc7985a1
/
.
/
test
/
tint
/
bug
/
tint
/
2100.wgsl.expected.wgsl
blob: 360ee9cadff43999e2e37eed573d2a9ef5a7a9f9 [
file
] [
log
] [
blame
]
struct
S
{
matrix_view
:
mat4x4
<f32>
,
matrix_normal
:
mat3x3
<f32>
,
}
@group
(
0
)
@binding
(
0
)
var
<uniform>
buffer
:
S
;
@vertex
fn main
()
->
@builtin
(
position
)
vec4f
{
let
x
=
buffer
.
matrix_view
[
0
].
z
;
return
vec4f
(
x
,
0
,
0
,
1
);
}