rusticl/program: use default in more places

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29946>
This commit is contained in:
Karol Herbst 2024-07-03 00:08:18 +02:00 committed by Marge Bot
parent f08f770f16
commit 18dfde9985

View file

@ -360,12 +360,8 @@ impl Program {
(
d,
ProgramDevBuild {
spirv: None,
status: CL_BUILD_NONE,
log: String::from(""),
options: String::from(""),
bin_type: CL_PROGRAM_BINARY_TYPE_NONE,
kernels: HashMap::new(),
..Default::default()
},
)
})
@ -795,9 +791,8 @@ impl Program {
spirv: spirv,
status: status,
log: log,
options: String::from(""),
bin_type: bin_type,
kernels: HashMap::new(),
..Default::default()
},
);
}