mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
radeonsi: remove unused si_pm4_state::compute_pkt
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
e4b05a50df
commit
30a4e375f5
2 changed files with 1 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue