OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89fa63
)
radeonsi: remove unused macro si_pm4_set_state
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 30 Aug 2015 12:43:59 +0000
(14:43 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 1 Sep 2015 19:51:15 +0000
(21:51 +0200)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.h
b/src/gallium/drivers/radeonsi/si_state.h
index
f5726f0
..
3718e05
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.h
+++ b/
src/gallium/drivers/radeonsi/si_state.h
@@
-234,16
+234,6
@@
struct si_buffer_resources {
si_pm4_block_idx(member)); \
} while(0)
-#define si_pm4_set_state(sctx, member, value) \
- do { \
- if ((sctx)->queued.named.member != (value)) { \
- si_pm4_free_state(sctx, \
- (struct si_pm4_state *)(sctx)->queued.named.member, \
- si_pm4_block_idx(member)); \
- (sctx)->queued.named.member = (value); \
- } \
- } while(0)
-
/* si_descriptors.c */
void si_set_ring_buffer(struct pipe_context *ctx, uint shader, uint slot,
struct pipe_resource *buffer,