mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-22 06:45:13 +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()
|
.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>,
|
||||||
|
Loading…
Reference in New Issue
Block a user