summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-09-23 15:15:33 +0300
committerMarge Bot <[email protected]>2020-03-09 04:44:11 +0000
commit75a33e268ea4eed0391b1f77948337b747834545 (patch)
tree83ad69a0c18adf08d53d553b050b56a5f30752e9 /src/intel/compiler/brw_shader.cpp
parent03ac90aae517b6275809815a1b0223edd98eccd9 (diff)
intel/compiler: Mark some methods and parameters const
Reviewed-by: Ian Romanick <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4093>
Diffstat (limited to 'src/intel/compiler/brw_shader.cpp')
-rw-r--r--src/intel/compiler/brw_shader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp
index 7752f33a132..475f9f04f8d 100644
--- a/src/intel/compiler/brw_shader.cpp
+++ b/src/intel/compiler/brw_shader.cpp
@@ -1201,13 +1201,13 @@ backend_instruction::remove(bblock_t *block)
}
void
-backend_shader::dump_instructions()
+backend_shader::dump_instructions() const
{
dump_instructions(NULL);
}
void
-backend_shader::dump_instructions(const char *name)
+backend_shader::dump_instructions(const char *name) const
{
FILE *file = stderr;
if (name && geteuid() != 0) {