diff options
author | Wladimir J. van der Laan <[email protected]> | 2017-11-18 10:44:24 +0100 |
---|---|---|
committer | Lucas Stach <[email protected]> | 2017-11-22 14:42:00 +0100 |
commit | 391c958f082ebb322cddef7d74c103a69da62cb5 (patch) | |
tree | f1a24900d6c7c3e2d4b8c105a2a57d21357cf230 /src/gallium/drivers/etnaviv | |
parent | 1b0638c65f3e9e42c8b3a34ad8ec146b9e8221af (diff) |
etnaviv: Const-correctness etnaviv_emit.h
The relocation structure is never changed by submitting it.
Signed-off-by: Wladimir J. van der Laan <[email protected]>
Reviewed-by: Philipp Zabel <[email protected]>
Reviewed-by: Christian Gmeiner <[email protected]>
Signed-off-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_emit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_emit.h b/src/gallium/drivers/etnaviv/etnaviv_emit.h index 6a3c77286d3..e0c0edab08a 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_emit.h +++ b/src/gallium/drivers/etnaviv/etnaviv_emit.h @@ -59,7 +59,7 @@ etna_set_state(struct etna_cmd_stream *stream, uint32_t address, uint32_t value) static inline void etna_set_state_reloc(struct etna_cmd_stream *stream, uint32_t address, - struct etna_reloc *reloc) + const struct etna_reloc *reloc) { etna_cmd_stream_reserve(stream, 2); etna_emit_load_state(stream, address >> 2, 1, 0); |