[vulkan] Fix dereference for non-pointer aliases

Fixes breakage for uint32_t for array/single handling.
This commit is contained in:
Bill Currie 2020-07-17 00:24:41 +09:00
parent 9f4f63796b
commit 8184c546db

View file

@ -118,7 +118,7 @@ static string get_type_key (void *type, void *unused)
-(Type *) dereference
{
qfot_type_t *t = type;
if (t.meta == ty_alias) {
if (t.meta == ty_alias && t.type == ev_pointer) {
t = type.alias.full_type;
}
if (t.meta == ty_basic && t.type == ev_pointer) {