From 7e8f7df800d697c0623711996ceac40dab5527ec Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 7 Feb 2020 23:52:08 +0100 Subject: [PATCH] zink/spirv: do not reinvent store_dest Part-of: --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index b53a25feba5..4dc92328526 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -1353,8 +1353,7 @@ emit_load_front_face(struct ntv_context *ctx, nir_intrinsic_instr *intr) SpvId result = spirv_builder_emit_load(&ctx->builder, var_type, ctx->front_face_var); assert(1 == nir_dest_num_components(intr->dest)); - result = bvec_to_uvec(ctx, result, 1); - store_dest_uint(ctx, &intr->dest, result); + store_dest(ctx, &intr->dest, result, nir_type_bool); } static void -- 2.30.2