mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 14:56:27 +00:00
Fixed formatting
This commit is contained in:
parent
c8c5bd3c03
commit
a9209cd3bf
@ -108,7 +108,8 @@ impl<'tcx> CodegenCx<'tcx> {
|
|||||||
|
|
||||||
let declared = fn_id.with_type(function_type);
|
let declared = fn_id.with_type(function_type);
|
||||||
|
|
||||||
let attrs = AggregatedSpirvAttributes::parse(self, self.tcx.get_attrs_unchecked(instance.def_id()));
|
let attrs =
|
||||||
|
AggregatedSpirvAttributes::parse(self, self.tcx.get_attrs_unchecked(instance.def_id()));
|
||||||
if let Some(entry) = attrs.entry.map(|attr| attr.value) {
|
if let Some(entry) = attrs.entry.map(|attr| attr.value) {
|
||||||
let entry_name = entry
|
let entry_name = entry
|
||||||
.name
|
.name
|
||||||
|
Loading…
Reference in New Issue
Block a user