mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 02:50:16 +01:00
i965: Drop unused 'ss_index' parameter from gen7_update_sampler_state.
This was copied from the Gen4-6 code, but is unused. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
a381592a8e
commit
7efa183e8f
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
|||
* Sets the sampler state for a single unit.
|
||||
*/
|
||||
static void
|
||||
gen7_update_sampler_state(struct brw_context *brw, int unit, int ss_index,
|
||||
gen7_update_sampler_state(struct brw_context *brw, int unit,
|
||||
struct gen7_sampler_state *sampler)
|
||||
{
|
||||
struct gl_context *ctx = &brw->ctx;
|
||||
|
|
@ -207,7 +207,7 @@ gen7_upload_sampler_state_table(struct brw_context *brw,
|
|||
if (SamplersUsed & (1 << s)) {
|
||||
const unsigned unit = prog->SamplerUnits[s];
|
||||
if (ctx->Texture.Unit[unit]._Current)
|
||||
gen7_update_sampler_state(brw, unit, s, &samplers[s]);
|
||||
gen7_update_sampler_state(brw, unit, &samplers[s]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue