mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
entry: rename declare_interface_global_for_param
to declare_shader_interface_for_param
.
This commit is contained in:
parent
b893c47727
commit
f834f989e5
@ -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>,
|
||||
|
Loading…
Reference in New Issue
Block a user