diff options
author | Rhys Perry <[email protected]> | 2018-12-14 11:08:51 +0000 |
---|---|---|
committer | Rhys Perry <[email protected]> | 2018-12-16 14:56:10 +0000 |
commit | ed4020fabe7c5b9d5f152ece64a2b4bb9b73c2bc (patch) | |
tree | 752af675ac9b10d3e6caa18692f4f564ab754f11 /src/compiler/nir/nir.h | |
parent | e4f9a37ace750646fd75fbbdff9b5e77a0b26cfb (diff) |
nir: fix constness in nir_intrinsic_align()
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index e8be2e101cc..403f3b066d3 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1376,7 +1376,7 @@ nir_intrinsic_set_align(nir_intrinsic_instr *intrin, * to satisfy X % align == 0. */ static inline unsigned -nir_intrinsic_align(nir_intrinsic_instr *intrin) +nir_intrinsic_align(const nir_intrinsic_instr *intrin) { const unsigned align_mul = nir_intrinsic_align_mul(intrin); const unsigned align_offset = nir_intrinsic_align_offset(intrin); |