Sign in
dawn
/
dawn
/
04b531d071b0faeaa680f87316c8da2a83f6dd06
/
.
/
test
/
tint
/
expressions
/
index
/
let
/
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
];
}