mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
i965: Silence many unused parameter warnings in genX_blorp_exec.c
This file gets built per-Gen, so the warnings are repeated a lot.
src/mesa/drivers/dri/i965/genX_blorp_exec.c: In function ‘blorp_get_surface_address’:
src/mesa/drivers/dri/i965/genX_blorp_exec.c:98:47: warning: unused parameter ‘blorp_batch’ [-Wunused-parameter]
98 | blorp_get_surface_address(struct blorp_batch *blorp_batch,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
src/mesa/drivers/dri/i965/genX_blorp_exec.c:99:48: warning: unused parameter ‘address’ [-Wunused-parameter]
99 | struct blorp_address address)
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/mesa/drivers/dri/i965/genX_blorp_exec.c: In function ‘blorp_vf_invalidate_for_vb_48b_transitions’:
src/mesa/drivers/dri/i965/genX_blorp_exec.c:208:64: warning: unused parameter ‘batch’ [-Wunused-parameter]
208 | blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
| ~~~~~~~~~~~~~~~~~~~~^~~~~
src/mesa/drivers/dri/i965/genX_blorp_exec.c:209:72: warning: unused parameter ‘addrs’ [-Wunused-parameter]
209 | const struct blorp_address *addrs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/mesa/drivers/dri/i965/genX_blorp_exec.c:211:53: warning: unused parameter ‘num_vbs’ [-Wunused-parameter]
211 | unsigned num_vbs)
| ~~~~~~~~~^~~~~~~
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6899>
This commit is contained in:
parent
b9c326bc4d
commit
5a5f30bf43
1 changed files with 5 additions and 5 deletions
|
|
@ -95,8 +95,8 @@ blorp_surface_reloc(struct blorp_batch *batch, uint32_t ss_offset,
|
|||
}
|
||||
|
||||
static uint64_t
|
||||
blorp_get_surface_address(struct blorp_batch *blorp_batch,
|
||||
struct blorp_address address)
|
||||
blorp_get_surface_address(UNUSED struct blorp_batch *blorp_batch,
|
||||
UNUSED struct blorp_address address)
|
||||
{
|
||||
/* We'll let blorp_surface_reloc write the address. */
|
||||
return 0ull;
|
||||
|
|
@ -205,10 +205,10 @@ blorp_alloc_vertex_buffer(struct blorp_batch *batch, uint32_t size,
|
|||
* See vf_invalidate_for_vb_48b_transitions in genX_state_upload.c.
|
||||
*/
|
||||
static void
|
||||
blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *batch,
|
||||
const struct blorp_address *addrs,
|
||||
blorp_vf_invalidate_for_vb_48b_transitions(UNUSED struct blorp_batch *batch,
|
||||
UNUSED const struct blorp_address *addrs,
|
||||
UNUSED uint32_t *sizes,
|
||||
unsigned num_vbs)
|
||||
UNUSED unsigned num_vbs)
|
||||
{
|
||||
#if GEN_GEN >= 8 && GEN_GEN < 11
|
||||
struct brw_context *brw = batch->driver_batch;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue