diff options
author | Chia-I Wu <[email protected]> | 2014-07-28 23:33:47 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-07-28 23:55:55 +0800 |
commit | cc1e1da24a6c535617d9fb38858d48d8c2999e68 (patch) | |
tree | abfbb2876fe0adb22080fbfc83c74e797cbce3a9 /src/gallium/drivers/ilo/ilo_state.h | |
parent | fb1820355b0178f04622201688449cf2154feb42 (diff) |
ilo: correctly propagate resource renames to hardware
Not only should we mark states dirty when the underlying resource is renamed,
we should also update the CSO bo when available.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h index 0509fa04291..588a1b9660a 100644 --- a/src/gallium/drivers/ilo/ilo_state.h +++ b/src/gallium/drivers/ilo/ilo_state.h @@ -133,8 +133,8 @@ ilo_finalize_3d_states(struct ilo_context *ilo, const struct pipe_draw_info *draw); void -ilo_mark_states_with_resource_dirty(struct ilo_context *ilo, - const struct pipe_resource *res); +ilo_mark_states_with_resource_renamed(struct ilo_context *ilo, + struct pipe_resource *res); void ilo_dump_dirty_flags(uint32_t dirty); |