From: Christian König Date: Tue, 19 Mar 2013 12:36:26 +0000 (+0100) Subject: radeonsi: remove wqm intrinsic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86f6fc2f1dfa1c6eb7d79ef54112f085674bb1f5;p=mesa.git radeonsi: remove wqm intrinsic Now the backend handles that itself. Signed-off-by: Christian König Reviewed-by: Michel Dänzer --- 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) ? */