diff options
author | Matt Turner <[email protected]> | 2015-02-10 11:23:55 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-02-10 17:48:42 -0800 |
commit | a9065cef4879509c3dc96a5195f785647576f409 (patch) | |
tree | 783b6de55068522383b63446032948fa32df3a1e /src/glsl/nir/nir_lower_atomics.c | |
parent | bb1e0071572d491be37d7dfb3841f48af69f6ede (diff) |
nir: Remove casts from void*.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_lower_atomics.c')
-rw-r--r-- | src/glsl/nir/nir_lower_atomics.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_lower_atomics.c b/src/glsl/nir/nir_lower_atomics.c index 6ed53778e18..5e04417c0f3 100644 --- a/src/glsl/nir/nir_lower_atomics.c +++ b/src/glsl/nir/nir_lower_atomics.c @@ -128,8 +128,7 @@ lower_block(nir_block *block, void *state) { nir_foreach_instr_safe(block, instr) { if (instr->type == nir_instr_type_intrinsic) - lower_instr(nir_instr_as_intrinsic(instr), - (nir_function_impl *) state); + lower_instr(nir_instr_as_intrinsic(instr), state); } return true; |