summaryrefslogtreecommitdiff
path: root/src/cl_context.c
diff options
context:
space:
mode:
authorbsegovia <devnull@localhost>2011-10-15 05:34:12 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:15:00 -0700
commit41cddc7d0032c533455fcd54d293cc4119b31698 (patch)
tree4b2c27e2c0d567d5a833416f44aa823f5ba38f5a /src/cl_context.c
parent185f1b529f5e618a7aec3be9b359127f774ef68a (diff)
downloadbeignet-41cddc7d0032c533455fcd54d293cc4119b31698.tar.gz
Removed some useless code in cl_utils.h Started to implement support for samplers
Diffstat (limited to 'src/cl_context.c')
-rw-r--r--src/cl_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_context.c b/src/cl_context.c
index 06fdd254..6dee7710 100644
--- a/src/cl_context.c
+++ b/src/cl_context.c
@@ -129,6 +129,7 @@ cl_context_new(void)
pthread_mutex_init(&ctx->program_lock, NULL);
pthread_mutex_init(&ctx->queue_lock, NULL);
pthread_mutex_init(&ctx->buffer_lock, NULL);
+ pthread_mutex_init(&ctx->sampler_lock, NULL);
exit:
return ctx;