entry: rename declare_interface_global_for_param to declare_shader_interface_for_param.

This commit is contained in:
Eduard-Mihai Burtescu 2021-04-07 11:25:17 +03:00 committed by Eduard-Mihai Burtescu
parent b893c47727
commit f834f989e5

View File

@ -134,7 +134,7 @@ impl<'tcx> CodegenCx<'tcx> {
.iter() .iter()
.zip(hir_params) .zip(hir_params)
.map(|(entry_fn_arg, hir_param)| { .map(|(entry_fn_arg, hir_param)| {
self.declare_interface_global_for_param( self.declare_shader_interface_for_param(
entry_fn_arg.layout, entry_fn_arg.layout,
hir_param, hir_param,
&mut op_entry_point_interface_operands, &mut op_entry_point_interface_operands,
@ -334,7 +334,7 @@ impl<'tcx> CodegenCx<'tcx> {
(spirv_ty, storage_class) (spirv_ty, storage_class)
} }
fn declare_interface_global_for_param( fn declare_shader_interface_for_param(
&self, &self,
layout: TyAndLayout<'tcx>, layout: TyAndLayout<'tcx>,
hir_param: &hir::Param<'tcx>, hir_param: &hir::Param<'tcx>,