summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/radeonsi_shader.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-03-19 13:36:26 +0100
committerChristian König <[email protected]>2013-03-26 12:57:30 +0100
commit86f6fc2f1dfa1c6eb7d79ef54112f085674bb1f5 (patch)
tree050a69140285971efc0afda2d34b89edd9ff99c0 /src/gallium/drivers/radeonsi/radeonsi_shader.c
parent6249db73ea580e6a54874235ffb3a7d42ac63bb4 (diff)
radeonsi: remove wqm intrinsic
Now the backend handles that itself. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/radeonsi_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/radeonsi_shader.c9
1 files changed, 0 insertions, 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) ? */