projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f9a37
)
nir: fix constness in nir_intrinsic_align()
author
Rhys Perry
<pendingchaos02@gmail.com>
Fri, 14 Dec 2018 11:08:51 +0000
(11:08 +0000)
committer
Rhys Perry
<pendingchaos02@gmail.com>
Sun, 16 Dec 2018 14:56:10 +0000
(14:56 +0000)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir.h
b/src/compiler/nir/nir.h
index e8be2e101ccb8d17fcb55b5a19c78d497ba62c9a..403f3b066d3738f43d8213e254cae8c4773c08f8 100644
(file)
--- 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);