summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2018-06-21 14:22:02 -0700
committerIan Romanick <[email protected]>2018-12-17 13:47:06 -0800
commit111bcc8d028b5d71aacdd080671578b665a9f4ed (patch)
tree4bea0f0c4118baf5520452eec94b4f8a19564fa4 /src
parentf67dea5e19ef14187be0e8d0f61b1f764c7ccb4f (diff)
i965/vec4: Silence unused parameter warnings in vec4 compiler tests
src/intel/compiler/test_vec4_copy_propagation.cpp: In member function ‘virtual brw::dst_reg* copy_propagation_vec4_visitor::make_reg_for_system_value(int)’: src/intel/compiler/test_vec4_copy_propagation.cpp:57:51: warning: unused parameter ‘location’ [-Wunused-parameter] virtual dst_reg *make_reg_for_system_value(int location) ^~~~~~~~ src/intel/compiler/test_vec4_copy_propagation.cpp: In member function ‘virtual void copy_propagation_vec4_visitor::emit_urb_write_header(int)’: src/intel/compiler/test_vec4_copy_propagation.cpp:77:43: warning: unused parameter ‘mrf’ [-Wunused-parameter] virtual void emit_urb_write_header(int mrf) ^~~ src/intel/compiler/test_vec4_copy_propagation.cpp: In member function ‘virtual brw::vec4_instruction* copy_propagation_vec4_visitor::emit_urb_write_opcode(bool)’: src/intel/compiler/test_vec4_copy_propagation.cpp:82:57: warning: unused parameter ‘complete’ [-Wunused-parameter] virtual vec4_instruction *emit_urb_write_opcode(bool complete) ^~~~~~~~ src/intel/compiler/test_vec4_register_coalesce.cpp: In member function ‘virtual brw::dst_reg* register_coalesce_vec4_visitor::make_reg_for_system_value(int)’: src/intel/compiler/test_vec4_register_coalesce.cpp:60:51: warning: unused parameter ‘location’ [-Wunused-parameter] virtual dst_reg *make_reg_for_system_value(int location) ^~~~~~~~ src/intel/compiler/test_vec4_register_coalesce.cpp: In member function ‘virtual void register_coalesce_vec4_visitor::emit_urb_write_header(int)’: src/intel/compiler/test_vec4_register_coalesce.cpp:80:43: warning: unused parameter ‘mrf’ [-Wunused-parameter] virtual void emit_urb_write_header(int mrf) ^~~ src/intel/compiler/test_vec4_register_coalesce.cpp: In member function ‘virtual brw::vec4_instruction* register_coalesce_vec4_visitor::emit_urb_write_opcode(bool)’: src/intel/compiler/test_vec4_register_coalesce.cpp:85:57: warning: unused parameter ‘complete’ [-Wunused-parameter] virtual vec4_instruction *emit_urb_write_opcode(bool complete) ^~~~~~~~ src/intel/compiler/test_vec4_cmod_propagation.cpp: In member function ‘virtual brw::dst_reg* cmod_propagation_vec4_visitor::make_reg_for_system_value(int)’: src/intel/compiler/test_vec4_cmod_propagation.cpp:60:51: warning: unused parameter ‘location’ [-Wunused-parameter] virtual dst_reg *make_reg_for_system_value(int location) ^~~~~~~~ src/intel/compiler/test_vec4_cmod_propagation.cpp: In member function ‘virtual void cmod_propagation_vec4_visitor::emit_urb_write_header(int)’: src/intel/compiler/test_vec4_cmod_propagation.cpp:85:43: warning: unused parameter ‘mrf’ [-Wunused-parameter] virtual void emit_urb_write_header(int mrf) ^~~ src/intel/compiler/test_vec4_cmod_propagation.cpp: In member function ‘virtual brw::vec4_instruction* cmod_propagation_vec4_visitor::emit_urb_write_opcode(bool)’: src/intel/compiler/test_vec4_cmod_propagation.cpp:90:57: warning: unused parameter ‘complete’ [-Wunused-parameter] virtual vec4_instruction *emit_urb_write_opcode(bool complete) ^~~~~~~~ Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/test_vec4_cmod_propagation.cpp6
-rw-r--r--src/intel/compiler/test_vec4_copy_propagation.cpp6
-rw-r--r--src/intel/compiler/test_vec4_register_coalesce.cpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/intel/compiler/test_vec4_cmod_propagation.cpp b/src/intel/compiler/test_vec4_cmod_propagation.cpp
index 8430924de63..02c6f85321d 100644
--- a/src/intel/compiler/test_vec4_cmod_propagation.cpp
+++ b/src/intel/compiler/test_vec4_cmod_propagation.cpp
@@ -57,7 +57,7 @@ public:
protected:
/* Dummy implementation for pure virtual methods */
- virtual dst_reg *make_reg_for_system_value(int location)
+ virtual dst_reg *make_reg_for_system_value(int /* location */)
{
unreachable("Not reached");
}
@@ -82,12 +82,12 @@ protected:
unreachable("Not reached");
}
- virtual void emit_urb_write_header(int mrf)
+ virtual void emit_urb_write_header(int /* mrf */)
{
unreachable("Not reached");
}
- virtual vec4_instruction *emit_urb_write_opcode(bool complete)
+ virtual vec4_instruction *emit_urb_write_opcode(bool /* complete */)
{
unreachable("Not reached");
}
diff --git a/src/intel/compiler/test_vec4_copy_propagation.cpp b/src/intel/compiler/test_vec4_copy_propagation.cpp
index f4f91d8c8c7..5f3f3e525f2 100644
--- a/src/intel/compiler/test_vec4_copy_propagation.cpp
+++ b/src/intel/compiler/test_vec4_copy_propagation.cpp
@@ -54,7 +54,7 @@ public:
}
protected:
- virtual dst_reg *make_reg_for_system_value(int location)
+ virtual dst_reg *make_reg_for_system_value(int /* location */)
{
unreachable("Not reached");
}
@@ -74,12 +74,12 @@ protected:
unreachable("Not reached");
}
- virtual void emit_urb_write_header(int mrf)
+ virtual void emit_urb_write_header(int /* mrf */)
{
unreachable("Not reached");
}
- virtual vec4_instruction *emit_urb_write_opcode(bool complete)
+ virtual vec4_instruction *emit_urb_write_opcode(bool /* complete */)
{
unreachable("Not reached");
}
diff --git a/src/intel/compiler/test_vec4_register_coalesce.cpp b/src/intel/compiler/test_vec4_register_coalesce.cpp
index a3dbb0a72e4..9636db2aca6 100644
--- a/src/intel/compiler/test_vec4_register_coalesce.cpp
+++ b/src/intel/compiler/test_vec4_register_coalesce.cpp
@@ -57,7 +57,7 @@ public:
}
protected:
- virtual dst_reg *make_reg_for_system_value(int location)
+ virtual dst_reg *make_reg_for_system_value(int /* location */)
{
unreachable("Not reached");
}
@@ -77,12 +77,12 @@ protected:
unreachable("Not reached");
}
- virtual void emit_urb_write_header(int mrf)
+ virtual void emit_urb_write_header(int /* mrf */)
{
unreachable("Not reached");
}
- virtual vec4_instruction *emit_urb_write_opcode(bool complete)
+ virtual vec4_instruction *emit_urb_write_opcode(bool /* complete */)
{
unreachable("Not reached");
}