zink: fix spirv temp func variable class emission

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18863>
This commit is contained in:
SoroushIMG
2022-09-26 23:19:02 +01:00
committed by Marge Bot
parent d2e2b9bb80
commit bcbcc25602
@@ -2404,7 +2404,7 @@ emit_store_deref(struct ntv_context *ctx, nir_intrinsic_instr *intr)
} else
member_type = result_type = get_glsl_type(ctx, glsl_get_array_element(gtype));
SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder,
SpvStorageClassOutput,
get_storage_class(var),
result_type);
for (unsigned i = 0; i < 4; i++)
if (wrmask & BITFIELD_BIT(i)) {