mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
glsl: Silence unused parameter warning
glsl/lower_shared_reference.cpp: In member function ‘virtual void
{anonymous}::lower_shared_reference_visitor::insert_buffer_access(void*,
ir_dereference*, const glsl_type*, ir_rvalue*, unsigned int, int)’:
glsl/lower_shared_reference.cpp:244:58: warning: unused parameter
‘channel’ [-Wunused-parameter]
int channel)
^~~~~~~
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
6bec8bcd79
commit
2c7657f62c
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ lower_shared_reference_visitor::insert_buffer_access(void *mem_ctx,
|
|||
const glsl_type *type,
|
||||
ir_rvalue *offset,
|
||||
unsigned mask,
|
||||
int channel)
|
||||
int /* channel */)
|
||||
{
|
||||
if (buffer_access_type == shared_store_access) {
|
||||
ir_call *store = shared_store(mem_ctx, deref, offset, mask);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue