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