From: Marek Olšák <marek.ol...@amd.com>

---
 src/gallium/drivers/radeon/radeon_llvm.h            | 17 -----------------
 src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c |  3 ---
 2 files changed, 20 deletions(-)

diff --git a/src/gallium/drivers/radeon/radeon_llvm.h 
b/src/gallium/drivers/radeon/radeon_llvm.h
index bdee2f8..0a164bb 100644
--- a/src/gallium/drivers/radeon/radeon_llvm.h
+++ b/src/gallium/drivers/radeon/radeon_llvm.h
@@ -51,24 +51,8 @@ struct radeon_llvm_loop {
 };
 
 struct radeon_llvm_context {
-
        struct lp_build_tgsi_soa_context soa;
 
-       unsigned chip_class;
-       unsigned type;
-       unsigned face_gpr;
-       unsigned two_side;
-       unsigned inputs_count;
-       struct r600_shader_io * r600_inputs;
-       struct r600_shader_io * r600_outputs;
-       struct pipe_stream_output_info *stream_outputs;
-       unsigned color_buffer_count;
-       unsigned fs_color_all;
-       unsigned alpha_to_one;
-       unsigned has_txq_cube_array_z_comp;
-       unsigned uses_tex_buffers;
-       unsigned has_compressed_msaa_texturing;
-
        /*=== Front end configuration ===*/
 
        /* Instructions that are not described by any of the TGSI opcodes. */
@@ -90,7 +74,6 @@ struct radeon_llvm_context {
          */
        LLVMValueRef inputs[RADEON_LLVM_MAX_INPUTS];
        LLVMValueRef outputs[RADEON_LLVM_MAX_OUTPUTS][TGSI_NUM_CHANNELS];
-       unsigned output_reg_count;
 
        /** This pointer is used to contain the temporary values.
          * The amount of temporary used in tgsi can't be bound to a max value 
and
diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c 
b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
index c74397f..fb883cb 100644
--- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
+++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
@@ -363,9 +363,6 @@ static void emit_declaration(
                                        ctx->soa.bld_base.base.elem_type, "");
                        }
                }
-
-               ctx->output_reg_count = MAX2(ctx->output_reg_count,
-                                                        decl->Range.Last + 1);
                break;
        }
 
-- 
2.5.0

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to