radeonsi: remove unused si_pm4_state::compute_pkt
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 30 May 2017 16:53:16 +0000 (18:53 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 31 May 2017 07:20:57 +0000 (09:20 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pm4.c
src/gallium/drivers/radeonsi/si_pm4.h

index 1bb6903feece0f85c821d5a2b3cd7e0ff3b4eb17..1ae1861a8377ee7e3a429036528826850ed99d5a 100644 (file)
@@ -45,8 +45,7 @@ void si_pm4_cmd_end(struct si_pm4_state *state, bool predicate)
        unsigned count;
        count = state->ndw - state->last_pm4 - 2;
        state->pm4[state->last_pm4] =
-               PKT3(state->last_opcode, count, predicate)
-                  | PKT3_SHADER_TYPE_S(state->compute_pkt);
+               PKT3(state->last_opcode, count, predicate);
 
        assert(state->ndw <= SI_PM4_MAX_DW);
 }
index a3df89bd88785b2235eb2f7ad99dfc956df95323..6301f2060abfa72705f9d3c2c8c07455bf6c624b 100644 (file)
@@ -54,8 +54,6 @@ struct si_pm4_state
        struct r600_resource    *bo[SI_PM4_MAX_BO];
        enum radeon_bo_usage    bo_usage[SI_PM4_MAX_BO];
        enum radeon_bo_priority bo_priority[SI_PM4_MAX_BO];
-
-       bool compute_pkt;
 };
 
 void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode);