radeonsi: remove wqm intrinsic
authorChristian König <christian.koenig@amd.com>
Tue, 19 Mar 2013 12:36:26 +0000 (13:36 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 26 Mar 2013 11:57:30 +0000 (12:57 +0100)
Now the backend handles that itself.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c

index 110bfb0de2aac951d38664df67b3215fa44462ad..f05f41eebdd71f5ccc2acd143a16f988b76720ac 100644 (file)
@@ -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) ? */