Sign in
dawn
/
dawn
/
7b9896841dc2428931a961f73b76b5a7b9012821
/
.
/
test
/
tint
/
expressions
/
index
/
var
/
struct_with_matrix.wgsl.expected.glsl
blob: ef7edb87510f6926d12249f95a5c67cb040ca22a [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
unused_entry_point
()
{
return
;
}
struct
S
{
int
m
;
mat4 n
;
};
float
f
()
{
S a
=
S
(
0
,
mat4
(
vec4
(
0.0f
),
vec4
(
0.0f
),
vec4
(
0.0f
),
vec4
(
0.0f
)));
return
a
.
n
[
2
][
1
];
}