aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-04-05 10:49:35 +1000
committerTimothy Arceri <[email protected]>2017-04-05 14:54:49 +1000
commitd5ee55f028883748eadd8eec9070b475c200871c (patch)
treef01ddb413c2f84eff58ed9f4c235e6be75abff36 /src/compiler
parent060a6434eca9fb05ca2dfd612f8abd4786ee4549 (diff)
mesa: Replace program locks with atomic inc/dec.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/standalone.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/glsl/standalone.cpp b/src/compiler/glsl/standalone.cpp
index 521964bf9cc..52554bb92a2 100644
--- a/src/compiler/glsl/standalone.cpp
+++ b/src/compiler/glsl/standalone.cpp
@@ -103,8 +103,6 @@ private:
void
init_gl_program(struct gl_program *prog, GLenum target, bool is_arb_asm)
{
- mtx_init(&prog->Mutex, mtx_plain);
-
prog->RefCount = 1;
prog->Format = GL_PROGRAM_FORMAT_ASCII_ARB;
prog->is_arb_asm = is_arb_asm;