mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
rusticl/program: use default in more places
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29946>
This commit is contained in:
parent
f08f770f16
commit
18dfde9985
1 changed files with 2 additions and 7 deletions
|
|
@ -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()
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue