diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-30 18:53:16 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-31 09:20:57 +0200 |
commit | 30a4e375f59bfa39417ea82c97a1dc3064752a86 (patch) | |
tree | fd44f60df705e535400197213216d795749b016c /src/gallium | |
parent | e4b05a50dfdcf863e37b752d189c4624a14a7b8f (diff) |
radeonsi: remove unused si_pm4_state::compute_pkt
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pm4.h | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pm4.c b/src/gallium/drivers/radeonsi/si_pm4.c index 1bb6903feec..1ae1861a837 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.c +++ b/src/gallium/drivers/radeonsi/si_pm4.c @@ -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); } diff --git a/src/gallium/drivers/radeonsi/si_pm4.h b/src/gallium/drivers/radeonsi/si_pm4.h index a3df89bd887..6301f2060ab 100644 --- a/src/gallium/drivers/radeonsi/si_pm4.h +++ b/src/gallium/drivers/radeonsi/si_pm4.h @@ -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); |