From 86f6fc2f1dfa1c6eb7d79ef54112f085674bb1f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Tue, 19 Mar 2013 13:36:26 +0100 Subject: [PATCH] radeonsi: remove wqm intrinsic MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Now the backend handles that itself. Signed-off-by: Christian König Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 110bfb0de2a..f05f41eebdd 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.c +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.c @@ -59,7 +59,6 @@ struct si_shader_context struct si_pipe_shader *shader; struct si_shader_key key; unsigned type; /* TGSI_PROCESSOR_* specifies the type of shader. */ - unsigned ninput_emitted; /* struct list_head inputs; */ /* unsigned * input_mappings *//* From TGSI to SI hw */ /* struct tgsi_shader_info info;*/ @@ -261,14 +260,6 @@ static void declare_input_fs( return; } - if (!si_shader_ctx->ninput_emitted++) { - /* Enable whole quad mode */ - lp_build_intrinsic(gallivm->builder, - "llvm.SI.wqm", - LLVMVoidTypeInContext(gallivm->context), - NULL, 0); - } - intr_name = interp_param ? "llvm.SI.fs.interp" : "llvm.SI.fs.constant"; /* XXX: Could there be more than TGSI_NUM_CHANNELS (4) ? */ -- 2.30.2