summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-06 10:41:39 +1100
committerTimothy Arceri <[email protected]>2017-03-07 09:07:33 +1100
commite92293a601bbc141bb85f88f962264fa0b1da916 (patch)
tree6a1be68109f4098b9755c0ad3b08cecd83562b7e /src/gallium/state_trackers
parente5375ba028c8ca48b11b86068efb65c4e03153eb (diff)
gallium/util: replace pipe_condvar with cnd_t
pipe_condvar was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/nine_queue.c4
-rw-r--r--src/gallium/state_trackers/nine/nine_state.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/nine_queue.c b/src/gallium/state_trackers/nine/nine_queue.c
index 2a65a1e13ba..7a85798f0f4 100644
--- a/src/gallium/state_trackers/nine/nine_queue.c
+++ b/src/gallium/state_trackers/nine/nine_queue.c
@@ -72,8 +72,8 @@ struct nine_queue_pool {
unsigned tail;
unsigned cur_instr;
BOOL worker_wait;
- pipe_condvar event_pop;
- pipe_condvar event_push;
+ cnd_t event_pop;
+ cnd_t event_push;
mtx_t mutex_pop;
mtx_t mutex_push;
};
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c
index bfceeeefeac..e6d215ac742 100644
--- a/src/gallium/state_trackers/nine/nine_state.c
+++ b/src/gallium/state_trackers/nine/nine_state.c
@@ -63,7 +63,7 @@ struct csmt_context {
thrd_t worker;
struct nine_queue_pool* pool;
BOOL terminate;
- pipe_condvar event_processed;
+ cnd_t event_processed;
mtx_t mutex_processed;
struct NineDevice9 *device;
BOOL processed;