projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d6d81
)
nir: constify nir_ssa_alu_instr_src_components()
author
Connor Abbott
<cwabbott0@gmail.com>
Tue, 17 Mar 2015 05:03:28 +0000
(
01:03
-0400)
committer
Connor Abbott
<cwabbott0@gmail.com>
Fri, 9 Oct 2015 14:14:20 +0000
(10:14 -0400)
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir.h
patch
|
blob
|
history
diff --git
a/src/glsl/nir/nir.h
b/src/glsl/nir/nir.h
index 95e219168c112876de9be7256c5bfd88c281eded..befc7fce7240805fb7820a396bc5d6a6a8dbd487 100644
(file)
--- a/
src/glsl/nir/nir.h
+++ b/
src/glsl/nir/nir.h
@@
-725,7
+725,7
@@
nir_alu_instr_channel_used(nir_alu_instr *instr, unsigned src, unsigned channel)
* used for a source
*/
static inline unsigned
-nir_ssa_alu_instr_src_components(nir_alu_instr *instr, unsigned src)
+nir_ssa_alu_instr_src_components(
const
nir_alu_instr *instr, unsigned src)
{
assert(instr->dest.dest.is_ssa);