mesa: Replace program locks with atomic inc/dec.
authorMatt Turner <mattst88@gmail.com>
Wed, 5 Apr 2017 00:49:35 +0000 (10:49 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 5 Apr 2017 04:54:49 +0000 (14:54 +1000)
commitd5ee55f028883748eadd8eec9070b475c200871c
treef01ddb413c2f84eff58ed9f4c235e6be75abff36
parent060a6434eca9fb05ca2dfd612f8abd4786ee4549
mesa: Replace program locks with atomic inc/dec.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/standalone.cpp
src/mesa/main/mtypes.h
src/mesa/program/program.c