diff options
author | Matt Turner <[email protected]> | 2017-04-05 10:49:35 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-04-05 14:54:49 +1000 |
commit | d5ee55f028883748eadd8eec9070b475c200871c (patch) | |
tree | f01ddb413c2f84eff58ed9f4c235e6be75abff36 /src/compiler/glsl | |
parent | 060a6434eca9fb05ca2dfd612f8abd4786ee4549 (diff) |
mesa: Replace program locks with atomic inc/dec.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/standalone.cpp | 2 |
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; |