microsoft/compiler: Fix reference to renamed intrinsic getter

Fixes: b9c61379 ("microsoft/compiler: translate nir to dxil")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7609>
This commit is contained in:
Jesse Natalie 2020-11-13 09:20:37 -08:00 committed by Marge Bot
parent 2ec290cd92
commit e7f8c195d8

View file

@ -2338,7 +2338,7 @@ emit_image_store(struct ntd_context *ctx, nir_intrinsic_instr *intr)
return false;
}
nir_alu_type in_type = nir_intrinsic_type(intr);
nir_alu_type in_type = nir_intrinsic_src_type(intr);
enum overload_type overload = get_overload(in_type, 32);
assert(nir_src_bit_size(intr->src[3]) == 32);