gallium/radeon: remove remnants of R600 TGSI->LLVM
authorMarek Olšák <marek.olsak@amd.com>
Fri, 11 Mar 2016 14:59:28 +0000 (15:59 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 19 Mar 2016 23:57:05 +0000 (00:57 +0100)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_llvm.h
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c

index bdee2f8020ab37bd3edbfd66877a35e9b6a6101c..0a164bba307af20ea7a1d9892a3c5d1c562c311d 100644 (file)
@@ -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
index c74397fb5c94c35275e8a2ad9401d58876594607..fb883cb585ef4c60ed314ca623d81c08a183e29e 100644 (file)
@@ -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;
        }