Replace ib_type.self with ib_type_id
This commit is contained in:
Родитель
92c36e75df
Коммит
b631003230
|
@ -406,7 +406,7 @@ uint32_t CompilerMSL::add_interface_block(StorageClass storage)
|
|||
auto &dec = meta[p_var->self].decoration;
|
||||
uint32_t locn = dec.location;
|
||||
if (get_decoration_mask(p_var->self) & (1ull << DecorationLocation)) {
|
||||
set_member_decoration(ib_type.self, ib_mbr_idx, DecorationLocation, locn);
|
||||
set_member_decoration(ib_type_id, ib_mbr_idx, DecorationLocation, locn);
|
||||
}
|
||||
mark_location_as_used_by_shader(locn, storage);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче