radeonsi: remove unused and not useful variables
[mesa.git] / src / gallium / drivers / r300 / compiler / radeon_compiler.h
index e7ccbb732d125da6176dc4f281acd8ef7c7ac3fc..e2710d848c5ac6cf938a1dabb4ae8b48b476fb01 100644 (file)
@@ -44,6 +44,7 @@ enum rc_program_type {
 struct radeon_compiler {
        struct memory_pool Pool;
        struct rc_program Program;
+       const struct rc_regalloc_state *regalloc_state;
        enum rc_program_type type;
        unsigned Debug:2;
        unsigned Error:1;
@@ -77,7 +78,7 @@ struct radeon_compiler {
        unsigned initial_num_insts; /* Number of instructions at start. */
 };
 
-void rc_init(struct radeon_compiler * c);
+void rc_init(struct radeon_compiler * c, const struct rc_regalloc_state *rs);
 void rc_destroy(struct radeon_compiler * c);
 
 void rc_debug(struct radeon_compiler * c, const char * fmt, ...);
@@ -114,7 +115,6 @@ struct r300_fragment_program_compiler {
        struct rX00_fragment_program_code *code;
        /* Optional transformations and features. */
        struct r300_fragment_program_external_state state;
-       unsigned enable_shadow_ambient;
        /* Register corresponding to the depthbuffer. */
        unsigned OutputDepth;
        /* Registers corresponding to the four colorbuffers. */
@@ -137,11 +137,10 @@ struct r300_vertex_program_compiler {
        void * UserData;
        void (*SetHwInputOutput)(struct r300_vertex_program_compiler * c);
 
-       int PredicateIndex;
-       unsigned int PredicateMask;
 };
 
 void r3xx_compile_vertex_program(struct r300_vertex_program_compiler* c);
+void rc_vert_fc(struct radeon_compiler *compiler, void *user);
 void r300_vertex_program_dump(struct radeon_compiler *compiler, void *user);
 
 struct radeon_compiler_pass {