[Mesa-dev] [PATCH 2/6] radeonsi: remove wqm intrinsic

Christian König deathsimple at vodafone.de
Tue Mar 26 03:56:09 PDT 2013


From: Christian König <christian.koenig at amd.com>

Now the backend handles that itself.

Signed-off-by: Christian König <christian.koenig at amd.com>
---
 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 110bfb0..f05f41e 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) ? */
-- 
1.7.9.5



More information about the mesa-dev mailing list